mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
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