From 8cc2b856a47f7b1881171914147e6ddca7a8a02b Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 20 May 2020 21:17:06 +0200 Subject: testing minification with jsmin --- dist/js/logout.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'dist/js/logout.js') diff --git a/dist/js/logout.js b/dist/js/logout.js index f9c2543..3f9f7ed 100644 --- 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 -- cgit v1.2.3