Browse Source

app.ServiceWorker: super()

Simon Legner 1 year ago
parent
commit
416363a551
1 changed files with 1 additions and 0 deletions
  1. 1 0
      assets/javascripts/app/serviceworker.js

+ 1 - 0
assets/javascripts/app/serviceworker.js

@@ -4,6 +4,7 @@ app.ServiceWorker = class ServiceWorker extends Events {
   }
 
   constructor() {
+    super();
     this.onStateChange = this.onStateChange.bind(this);
     this.registration = null;
     this.notifyUpdate = true;