mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Fix linting errors in videoosd
This commit is contained in:
parent
1225800e7e
commit
6374802309
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user