Update darkmode.js

This commit is contained in:
css pro 2024-10-01 12:38:54 -07:00 committed by GitHub
parent 82a9db9967
commit 6ecd85aa2f
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 darkMode() {
dCheck.onClick(){
console.log("heck yeah");
var inputs = document.getElementsByTagName('input');
var body = document.body;
@ -14,7 +14,3 @@ function darkMode() {
}
}
}
dCheck.onClick(){
darkMode();
}