diff options
Diffstat (limited to 'js/app.js')
-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"); } }); -) +} |