Update modeTheme.js
This commit is contained in:
parent
3b2b69c7db
commit
417f36431d
1 changed files with 2 additions and 0 deletions
|
@ -2,4 +2,6 @@
|
|||
function darkModetheme() {
|
||||
var element = document.body;
|
||||
element.classList.toggle("dark-mode");
|
||||
var btn1 = document.getElementById("btn1");
|
||||
element.classList.toggle("btn1DarkMode");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue