Fix linting errors in videoosd

This commit is contained in:
Andreas B 2020-02-12 13:37:40 +01:00
parent 1225800e7e
commit 6374802309

View File

@ -1230,7 +1230,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
shell.disableFullscreen(); shell.disableFullscreen();
}); });
if(playerPauseClickTimeout) { if (playerPauseClickTimeout) {
clearTimeout(playerPauseClickTimeout); clearTimeout(playerPauseClickTimeout);
} }
var player = currentPlayer; var player = currentPlayer;
@ -1392,7 +1392,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
case "mouse": case "mouse":
if (!e.button) { if (!e.button) {
if(playerPauseClickTimeout){ if (playerPauseClickTimeout) {
clearTimeout(playerPauseClickTimeout); clearTimeout(playerPauseClickTimeout);
playerPauseClickTimeout = 0; playerPauseClickTimeout = 0;
} else { } else {