From 637480230959217fade1c90542357bf0939f5b61 Mon Sep 17 00:00:00 2001 From: Andreas B <6439218+YouKnowBlom@users.noreply.github.com> Date: Wed, 12 Feb 2020 13:37:40 +0100 Subject: [PATCH] Fix linting errors in videoosd --- src/controllers/playback/videoosd.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/playback/videoosd.js b/src/controllers/playback/videoosd.js index d07cc1da8c..eccf065487 100644 --- a/src/controllers/playback/videoosd.js +++ b/src/controllers/playback/videoosd.js @@ -1230,7 +1230,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med shell.disableFullscreen(); }); - if(playerPauseClickTimeout) { + if (playerPauseClickTimeout) { clearTimeout(playerPauseClickTimeout); } var player = currentPlayer; @@ -1392,9 +1392,9 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med case "mouse": if (!e.button) { - if(playerPauseClickTimeout){ + if (playerPauseClickTimeout) { clearTimeout(playerPauseClickTimeout); - playerPauseClickTimeout = 0; + playerPauseClickTimeout = 0; } else { playerPauseClickTimeout = setTimeout(() => { playbackManager.playPause(currentPlayer);