diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-08-30 20:15:23 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-08-30 20:15:23 +0200 |
commit | 78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1 (patch) | |
tree | 04ee73abc3ed235c9a3fd6da2113943e600f3f3d /dist/js/logout.js | |
parent | popravil meal selection (diff) | |
download | beziapp-78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1.tar beziapp-78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1.tar.gz beziapp-78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1.tar.bz2 beziapp-78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1.tar.lz beziapp-78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1.tar.xz beziapp-78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1.tar.zst beziapp-78f4cb39ab3753cef0a6d16d9b3d842e8c3c78a1.zip |
Diffstat (limited to '')
-rwxr-xr-x | dist/js/logout.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/dist/js/logout.js b/dist/js/logout.js index f9c2543..3f9f7ed 100755 --- a/dist/js/logout.js +++ b/dist/js/logout.js @@ -1,5 +1,2 @@ -// navigator.serviceWorker.controller.postMessage(JSON.stringify({action: "deletecaches"})); // cache only sets on initialization, so it should not be deleted. -// since sw.js is not cached, updates work. -localforage.clear().then(() => { // deletes localforage - window.location.replace("/index.html"); -}); + +localforage.clear().then(()=>{window.location.replace("/index.html");});
\ No newline at end of file |