Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
iamartyaa committed Oct 1, 2022
1 parent 17ff61c commit 110b03e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion indexdarkmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ function darkmode() {
bodyelem.classList.add(val);
}
function lightmode() {
//let bodyelem=document.body;
localStorage.setItem("theme", "");
let val = localStorage.getItem("theme");
bodyelem.classList.value = val;
Expand Down

0 comments on commit 110b03e

Please sign in to comment.