mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Fix webOS support in videoosd.js and homesection.js
This commit is contained in:
parent
c85e5ec48b
commit
87a4f39844
@ -77,7 +77,7 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
|
||||
|
||||
var createNowLink = elem.querySelector("#button-createLibrary")
|
||||
if (createNowLink) {
|
||||
createNowLink.addEventListener("click", () => {
|
||||
createNowLink.addEventListener("click", function () {
|
||||
Dashboard.navigate("library.html");
|
||||
});
|
||||
}
|
||||
|
@ -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…
Reference in New Issue
Block a user