diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-08 21:46:44 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-08 21:46:44 +0100 |
commit | cac0bbf6e166580ed0d6233f1b66d39b023b163d (patch) | |
tree | fff52c8867adca6e8757a2123f6e23ff56d9b2b2 | |
parent | sw.js must not be cached! (diff) | |
parent | maybe I'm retarded (diff) | |
download | beziapp-cac0bbf6e166580ed0d6233f1b66d39b023b163d.tar beziapp-cac0bbf6e166580ed0d6233f1b66d39b023b163d.tar.gz beziapp-cac0bbf6e166580ed0d6233f1b66d39b023b163d.tar.bz2 beziapp-cac0bbf6e166580ed0d6233f1b66d39b023b163d.tar.lz beziapp-cac0bbf6e166580ed0d6233f1b66d39b023b163d.tar.xz beziapp-cac0bbf6e166580ed0d6233f1b66d39b023b163d.tar.zst beziapp-cac0bbf6e166580ed0d6233f1b66d39b023b163d.zip |
-rw-r--r-- | js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,10 +5,10 @@ if ("serviceWorker" in navigator) { } // Listen to messages from service workers. -if(navigator.serviceWorker)( +if(navigator.serviceWorker) { navigator.serviceWorker.addEventListener('message', (event) => { if (event.data.msg === "install") { window.location.replace("/index.html"); } }); -) +} |