Fix local storage selector
This commit is contained in:
parent
26607a77c1
commit
9c29bdb840
@ -66,7 +66,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<script>
|
||||
let darkModeCheck = localStorage.getItem("memes.darkMode")
|
||||
let darkModeCheck = localStorage.getItem("root.darkMode")
|
||||
if (darkModeCheck === "true") {
|
||||
const darkModeCheckbox = document.getElementById("dark-mode-button")
|
||||
darkModeCheckbox.checked = true
|
||||
|
Loading…
Reference in New Issue
Block a user