diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 22:04:10 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-10-21 22:04:10 +0200 |
commit | d9364d2799a952d018d7ee9ab27beaa7db561482 (patch) | |
tree | 4000b49556ec8697f7807bbecc6d23a2454af4b5 /themes/PaperMod/layouts/partials/footer.html | |
parent | 8941b82fb5e5fe75abfff6f8d6b20ec87d0b77a3 (diff) |
ensure really no cookies
Diffstat (limited to 'themes/PaperMod/layouts/partials/footer.html')
-rw-r--r-- | themes/PaperMod/layouts/partials/footer.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/PaperMod/layouts/partials/footer.html b/themes/PaperMod/layouts/partials/footer.html index 52668eb..f5fa818 100644 --- a/themes/PaperMod/layouts/partials/footer.html +++ b/themes/PaperMod/layouts/partials/footer.html @@ -28,7 +28,7 @@ if (menu) { menu.scrollLeft = localStorage.getItem("menu-scroll-position"); menu.onscroll = function () { - localStorage.setItem("menu-scroll-position", menu.scrollLeft); + //localStorage.setItem("menu-scroll-position", menu.scrollLeft); } } @@ -74,10 +74,10 @@ document.getElementById("theme-toggle").addEventListener("click", () => { if (document.body.className.includes("dark")) { document.body.classList.remove('dark'); - localStorage.setItem("pref-theme", 'light'); + //localStorage.setItem("pref-theme", 'light'); } else { document.body.classList.add('dark'); - localStorage.setItem("pref-theme", 'dark'); + //localStorage.setItem("pref-theme", 'dark'); } }) |