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:
parent
20cd64b785
commit
8f05744009
4 changed files with 15 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue