5,798
edits
No edit summary |
No edit summary |
||
Line 551: | Line 551: | ||
const darkMode = localStorage.getItem("darkMode"); | const darkMode = localStorage.getItem("darkMode"); | ||
if (darkMode | if (darkMode === "true") { | ||
localStorage.setItem("darkMode", true); | localStorage.setItem("darkMode", true); | ||
} else { | } else { |