Update darkmode.js
This commit is contained in:
parent
ee394b7d24
commit
c52805a2a3
@ -1,5 +1,5 @@
|
|||||||
var dToggle = document.getElementById("darkMode")
|
|
||||||
dToggle.onclick = function dMode(){
|
function dMode(){
|
||||||
var body = document.body;
|
var body = document.body;
|
||||||
body.classList.toggle("darkBody");
|
body.classList.toggle("darkBody");
|
||||||
var button = document.button;
|
var button = document.button;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user