Script fixes

This commit is contained in:
Eduard Urbach 2017-11-07 09:06:04 +01:00
parent eabf533d85
commit c9849c5b16

View File

@ -124,9 +124,6 @@ export class AnimeNotifier {
// Push manager
this.pushManager = new PushManager()
// Service worker
this.serviceWorkerManager = new ServiceWorkerManager(this, "/service-worker")
// Analytics
this.analytics = new Analytics()
@ -169,6 +166,7 @@ export class AnimeNotifier {
onIdle() {
// Service worker
this.serviceWorkerManager = new ServiceWorkerManager(this, "/service-worker")
this.serviceWorkerManager.register()
// Analytics