mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update startup
This commit is contained in:
parent
d567f27c94
commit
7743007ece
3 changed files with 540 additions and 15 deletions
|
@ -1786,7 +1786,7 @@
|
|||
Events.trigger(self, 'playstatechange', [state]);
|
||||
};
|
||||
|
||||
Events.on(window, "beforeunload", function () {
|
||||
window.addEventListener("beforeunload", function () {
|
||||
|
||||
// Try to report playback stopped before the browser closes
|
||||
if (self.currentItem && self.currentMediaRenderer && currentProgressInterval) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue