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