Remove unnecessary check when clearing playPauseClickTimeout

This commit is contained in:
Andreas B 2020-02-19 16:09:00 +01:00
parent 41ea428237
commit f52075eb26

View File

@ -1231,9 +1231,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
shell.disableFullscreen();
});
if (playPauseClickTimeout) {
clearTimeout(playPauseClickTimeout);
}
var player = currentPlayer;
view.removeEventListener("viewbeforehide", onViewHideStopPlayback);
releaseCurrentPlayer();