1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix encoding escape quotes

This commit is contained in:
Luke Pulverenti 2015-06-07 23:16:42 -04:00
parent 3920d73045
commit 1dd2833ed7
17 changed files with 387 additions and 341 deletions

View file

@ -518,6 +518,15 @@
GroupItems: false
};
var target = $(e.target);
if (target.is('a') || target.is('button')) {
return;
}
if (target.parents('a').length || target.parents('button').length) {
return;
}
ApiClient.getJSON(ApiClient.getUrl('Users/' + userId + '/Items/Latest', options)).done(function (items) {
if (items.length == 1) {
@ -774,7 +783,8 @@
function onCardClick(e) {
if ($(e.target).is('.itemSelectionPanel') || $('.itemSelectionPanel', this).length) {
var target = $(e.target);
if (target.is('.itemSelectionPanel') || $('.itemSelectionPanel', this).length) {
return false;
}
@ -800,6 +810,14 @@
return;
}
if (target.is('a') || target.is('button')) {
return;
}
if (target.parents('a').length || target.parents('button').length) {
return;
}
if (AppSettings.enableItemPreviews()) {
showItemsOverlay({
ids: [itemId],