fix darkmode toggle

This commit is contained in:
FreddleSpl0it committed 2022-12-16 09:40:20 +01:00
1 parent 5160eff294
commit f1bb23ba2a
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
$(document).ready(function() {
var darkmode = localStorage.getItem("darkmode");
var theme = localStorage.getItem("theme");
localStorage.clear();
localStorage.setItem("darkmode", darkmode);
localStorage.setItem("theme", theme);
});