diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-08 21:48:21 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-08 21:48:21 +0100 |
commit | adbc8a73d64dfd5e57587002907df869c3ad2046 (patch) | |
tree | 3af3792f9b64d242feff4b88e6dbd00f97b1fc0d | |
parent | Merge branch 'dev' of https://github.com/beziapp/beziapp.github.io into dev (diff) | |
download | beziapp-adbc8a73d64dfd5e57587002907df869c3ad2046.tar beziapp-adbc8a73d64dfd5e57587002907df869c3ad2046.tar.gz beziapp-adbc8a73d64dfd5e57587002907df869c3ad2046.tar.bz2 beziapp-adbc8a73d64dfd5e57587002907df869c3ad2046.tar.lz beziapp-adbc8a73d64dfd5e57587002907df869c3ad2046.tar.xz beziapp-adbc8a73d64dfd5e57587002907df869c3ad2046.tar.zst beziapp-adbc8a73d64dfd5e57587002907df869c3ad2046.zip |
Diffstat (limited to '')
-rw-r--r-- | js/logout.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/logout.js b/js/logout.js index 01af8cc..b4b36be 100644 --- a/js/logout.js +++ b/js/logout.js @@ -1,3 +1,4 @@ -localforage.clear().then(() => { +navigator.serviceWorker.controller.postMessage(JSON.stringify({action: "deletecaches"})); // deletes cache +localforage.clear().then(() => { // deletes localforage window.location.replace("/index.html"); }); |