update notifications
This commit is contained in:
parent
e9151896b2
commit
3b16c9d466
4 changed files with 29 additions and 8 deletions
|
@ -2842,6 +2842,10 @@ var AppInfo = {};
|
|||
|
||||
postInitDependencies.push('bower_components/emby-webcomponents/input/api');
|
||||
|
||||
if (navigator.serviceWorker && !AppInfo.isNativeApp) {
|
||||
navigator.serviceWorker.register('serviceworker.js');
|
||||
}
|
||||
|
||||
if (window.Notification && !AppInfo.isNativeApp) {
|
||||
postInitDependencies.push('bower_components/emby-webcomponents/notifications/notifications');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue