Script fixes
This commit is contained in:
parent
eabf533d85
commit
c9849c5b16
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user