mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #618 from Wunax/fix-bug-hiding-videoosd-buttons
Fix a bug that hides children elements in the videoosd
This commit is contained in:
commit
5badb22aa3
1 changed files with 2 additions and 0 deletions
|
@ -402,6 +402,8 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
|
|||
|
||||
function onHideAnimationComplete(e) {
|
||||
var elem = e.target;
|
||||
if (elem != osdBottomElement)
|
||||
return;
|
||||
elem.classList.add("hide");
|
||||
dom.removeEventListener(elem, transitionEndEventName, onHideAnimationComplete, {
|
||||
once: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue