Update darkmode.js

This commit is contained in:
css pro 2024-10-01 19:18:42 -07:00 committed by GitHub
parent 732b751530
commit 35d1bf06bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
var dCheck = document.getElementById("dMode");
function dClick(){
dCheck.onclick = function dClick(){
console.log("heck yeah");
var inputs = document.getElementsByTagName('input');
var body = document.body;
@ -14,7 +14,3 @@ function dClick(){
}
}
}
dCheck.onClick(){
dClick();
}