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

update notifications

This commit is contained in:
Luke Pulverenti 2016-07-28 01:55:47 -04:00
parent e9151896b2
commit 3b16c9d466
4 changed files with 29 additions and 8 deletions

View file

@ -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');
}