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:
parent
11615f4399
commit
46d25396c6
8 changed files with 191 additions and 53 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue