summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-02-08 20:42:10 +0100
committerGitHub <noreply@github.com>2020-02-08 20:42:10 +0100
commitfcf5d130cbb91da5c2439aadfbbb62bcbed1b35b (patch)
tree6e854d2635b1d530c99fa9cb017010076ac11e91 /js
parentadded icons to side menu (diff)
downloadbeziapp-fcf5d130cbb91da5c2439aadfbbb62bcbed1b35b.tar
beziapp-fcf5d130cbb91da5c2439aadfbbb62bcbed1b35b.tar.gz
beziapp-fcf5d130cbb91da5c2439aadfbbb62bcbed1b35b.tar.bz2
beziapp-fcf5d130cbb91da5c2439aadfbbb62bcbed1b35b.tar.lz
beziapp-fcf5d130cbb91da5c2439aadfbbb62bcbed1b35b.tar.xz
beziapp-fcf5d130cbb91da5c2439aadfbbb62bcbed1b35b.tar.zst
beziapp-fcf5d130cbb91da5c2439aadfbbb62bcbed1b35b.zip
Diffstat (limited to 'js')
-rw-r--r--js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/app.js b/js/app.js
index 33a0f55..137541f 100644
--- a/js/app.js
+++ b/js/app.js
@@ -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");
}
});
-)
+}