mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update play buttons
This commit is contained in:
parent
1730740055
commit
7f6fe0d708
9 changed files with 81 additions and 20 deletions
|
@ -2548,7 +2548,7 @@ var AppInfo = {};
|
|||
return navigator.serviceWorker.ready;
|
||||
}).then(function (reg) {
|
||||
|
||||
if (reg.sync) {
|
||||
if (reg && reg.sync) {
|
||||
// https://github.com/WICG/BackgroundSync/blob/master/explainer.md
|
||||
return reg.sync.register('emby-sync').then(function () {
|
||||
window.SyncRegistered = Dashboard.isConnectMode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue