diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-08 19:47:00 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-08 19:47:00 +0100 |
commit | 2be5a0d5e441ef71568b75a738c5b07b738ab973 (patch) | |
tree | 944ca94b117700cf8c7cf05d516adc7820afcff9 /js/app.js | |
parent | empty .gitignore so github doesn't remove node_modules and package-lock (diff) | |
download | beziapp-2be5a0d5e441ef71568b75a738c5b07b738ab973.tar beziapp-2be5a0d5e441ef71568b75a738c5b07b738ab973.tar.gz beziapp-2be5a0d5e441ef71568b75a738c5b07b738ab973.tar.bz2 beziapp-2be5a0d5e441ef71568b75a738c5b07b738ab973.tar.lz beziapp-2be5a0d5e441ef71568b75a738c5b07b738ab973.tar.xz beziapp-2be5a0d5e441ef71568b75a738c5b07b738ab973.tar.zst beziapp-2be5a0d5e441ef71568b75a738c5b07b738ab973.zip |
Diffstat (limited to 'js/app.js')
-rw-r--r-- | js/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,8 +5,10 @@ if ("serviceWorker" in navigator) { } // Listen to messages from service workers. +if(navigator.serviceWorker)( navigator.serviceWorker.addEventListener('message', (event) => { if (event.data.msg === "install") { window.location.replace("/index.html"); } -});
\ No newline at end of file +}); +) |