diff options
Diffstat (limited to 'src/scripts/darktheme.js')
-rw-r--r-- | src/scripts/darktheme.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/darktheme.js b/src/scripts/darktheme.js index 0c577b6..a3f0333 100644 --- a/src/scripts/darktheme.js +++ b/src/scripts/darktheme.js @@ -12,11 +12,11 @@ if (theme) { function setTheme(dark) { if (dark) { document.documentElement.classList.add("dark-mode"); - themeButton.className = "fa fa-sun-o"; + // themeButton.className = "fa fa-sun-o"; localStorage.setItem("theme", "dark"); } else { document.documentElement.classList.remove("dark-mode"); - themeButton.className = "fa fa-moon-o"; + // themeButton.className = "fa fa-moon-o"; localStorage.setItem("theme", "light"); } isDark = dark; |