From 3c38181b2939f42fe45c6da0c35a9ee6a3079739 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 26 Nov 2022 23:45:39 +0200 Subject: [PATCH] fix logout bug --- files/assets/js/core.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/files/assets/js/core.js b/files/assets/js/core.js index 90dabc812..c65401dcb 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -407,9 +407,3 @@ function sendFormXHRSwitch(e) { } ) } - -if ("serviceWorker" in navigator) { - navigator.serviceWorker.register("/service-worker.js?v=3") - .then((registration) => registration.update()) - .catch((e) => console.log("Service worker update failed with error", e)); -}