1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update startup

This commit is contained in:
Luke Pulverenti 2015-11-29 02:23:01 -05:00
parent d567f27c94
commit 7743007ece
3 changed files with 540 additions and 15 deletions

View file

@ -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) {