mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix webOS support in videoosd.js and homesection.js
This commit is contained in:
parent
c85e5ec48b
commit
87a4f39844
2 changed files with 3 additions and 3 deletions
|
@ -1218,7 +1218,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
|
|||
return null;
|
||||
}
|
||||
|
||||
let playPauseClickTimeout;
|
||||
var playPauseClickTimeout;
|
||||
function onViewHideStopPlayback() {
|
||||
if (playbackManager.isPlayingVideo()) {
|
||||
require(['shell'], function (shell) {
|
||||
|
@ -1388,7 +1388,7 @@ define(["playbackManager", "dom", "inputManager", "datetime", "itemHelper", "med
|
|||
clearTimeout(playPauseClickTimeout);
|
||||
playPauseClickTimeout = 0;
|
||||
} else {
|
||||
playPauseClickTimeout = setTimeout(() => {
|
||||
playPauseClickTimeout = setTimeout(function() {
|
||||
playbackManager.playPause(currentPlayer);
|
||||
showOsd();
|
||||
playPauseClickTimeout = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue