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

update dialogs

This commit is contained in:
Luke Pulverenti 2016-08-29 03:12:24 -04:00
parent 31449f85de
commit 7acfaee309
15 changed files with 86 additions and 143 deletions

View file

@ -1229,7 +1229,7 @@ var AppInfo = {};
inputManager: embyWebComponentsBowerPath + "/inputmanager",
qualityoptions: embyWebComponentsBowerPath + "/qualityoptions",
hammer: bowerPath + "/hammerjs/hammer.min",
pageJs: embyWebComponentsBowerPath + '/page.js/page',
pageJs: embyWebComponentsBowerPath + '/pagejs/page',
focusManager: embyWebComponentsBowerPath + "/focusmanager",
datetime: embyWebComponentsBowerPath + "/datetime",
globalize: embyWebComponentsBowerPath + "/globalize",
@ -2799,8 +2799,12 @@ var AppInfo = {};
return navigator.serviceWorker.ready;
}).then(function (reg) {
if (!reg.sync) {
return Promise.resovle();
}
// https://github.com/WICG/BackgroundSync/blob/master/explainer.md
return reg.sync.register('emby-sync').then(function() {
return reg.sync.register('emby-sync').then(function () {
window.SyncRegistered = Dashboard.isConnectMode();
});
});