Fix local storage selector

This commit is contained in:
Isaac Shoebottom 2022-10-08 16:26:41 -03:00
parent 26607a77c1
commit 9c29bdb840

View File

@ -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