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

update multiselect

This commit is contained in:
Luke Pulverenti 2016-07-18 23:57:55 -04:00
parent 3460f6708d
commit cc2cd5731d
28 changed files with 175 additions and 141 deletions

View file

@ -456,10 +456,12 @@
document.addEventListener('viewbeforehide', hideSelections);
return function (container) {
return function (options) {
var self = this;
var container = options.container;
function onTapHold(e) {
var card = dom.parentWithClass(e.target, 'card');
@ -505,7 +507,11 @@
initTapHold(container);
container.addEventListener('click', onContainerClick);
if (options.bindOnClick !== false) {
container.addEventListener('click', onContainerClick);
}
self.onContainerClick = onContainerClick;
self.destroy = function () {