mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update page events
This commit is contained in:
parent
467dc13089
commit
79a7198bec
1 changed files with 5 additions and 3 deletions
|
@ -740,7 +740,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on('pageinit', "#nowPlayingPage", function () {
|
pageIdOn('pageinit', "nowPlayingPage", function () {
|
||||||
|
|
||||||
var page = this;
|
var page = this;
|
||||||
|
|
||||||
|
@ -768,7 +768,8 @@
|
||||||
updateCastIcon(page);
|
updateCastIcon(page);
|
||||||
});
|
});
|
||||||
|
|
||||||
}).on('pagebeforeshow', "#nowPlayingPage", function () {
|
});
|
||||||
|
pageIdOn('pagebeforeshow', "nowPlayingPage", function () {
|
||||||
|
|
||||||
$(document.body).addClass('hiddenViewMenuBar').addClass('hiddenNowPlayingBar');
|
$(document.body).addClass('hiddenViewMenuBar').addClass('hiddenNowPlayingBar');
|
||||||
var page = this;
|
var page = this;
|
||||||
|
@ -787,7 +788,8 @@
|
||||||
|
|
||||||
updateCastIcon(page);
|
updateCastIcon(page);
|
||||||
|
|
||||||
}).on('pagebeforehide', "#nowPlayingPage", function () {
|
});
|
||||||
|
pageIdOn('pagebeforehide', "nowPlayingPage", function () {
|
||||||
|
|
||||||
releaseCurrentPlayer();
|
releaseCurrentPlayer();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue