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