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

limit number of people in dlna responses

This commit is contained in:
Luke Pulverenti 2016-10-18 14:23:41 -04:00
parent 11615f4399
commit 46d25396c6
8 changed files with 191 additions and 53 deletions

View file

@ -51,15 +51,21 @@
return;
}
setTimeout(function () {
var onAnimationComplete = function () {
dom.removeEventListener(backdropImage, 'animationend', onAnimationComplete, {
once: true
});
if (backdropImage === currentAnimatingElement) {
currentAnimatingElement = null;
}
if (existingBackdropImage && existingBackdropImage.parentNode) {
existingBackdropImage.parentNode.removeChild(existingBackdropImage);
}
}, 800);
};
dom.addEventListener(backdropImage, 'animationend', onAnimationComplete, {
once: true
});
internalBackdrop(true);
};