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();
});
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);