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

boxset image fixes

This commit is contained in:
Luke Pulverenti 2015-10-14 01:02:30 -04:00
parent 20cd64b785
commit 8f05744009
4 changed files with 15 additions and 10 deletions

View file

@ -1068,6 +1068,10 @@
return false;
}
function onSelectionChange(e) {
updateItemSelection(this, this.checked);
}
function showSelection(item) {
var itemSelectionPanel = item.querySelector('.itemSelectionPanel');
@ -1079,11 +1083,12 @@
item.querySelector('.cardContent').appendChild(itemSelectionPanel);
var html = '';
var chkItemSelect = document.createElement('paper-checkbox');
chkItemSelect.classList.add('chkItemSelect');
html += '<paper-checkbox class="chkItemSelect"></paper-checkbox>';
$(chkItemSelect).on('change', onSelectionChange);
itemSelectionPanel.innerHTML = html;
itemSelectionPanel.appendChild(chkItemSelect);
}
}