mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Remove unnecessary check when clearing playPauseClickTimeout
This commit is contained in:
parent
41ea428237
commit
f52075eb26
@ -1231,9 +1231,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
|
|||||||
shell.disableFullscreen();
|
shell.disableFullscreen();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (playPauseClickTimeout) {
|
|
||||||
clearTimeout(playPauseClickTimeout);
|
clearTimeout(playPauseClickTimeout);
|
||||||
}
|
|
||||||
var player = currentPlayer;
|
var player = currentPlayer;
|
||||||
view.removeEventListener("viewbeforehide", onViewHideStopPlayback);
|
view.removeEventListener("viewbeforehide", onViewHideStopPlayback);
|
||||||
releaseCurrentPlayer();
|
releaseCurrentPlayer();
|
||||||
|
Loading…
Reference in New Issue
Block a user