Update darkmode.js

This commit is contained in:
css pro 2024-10-01 15:45:22 -07:00 committed by GitHub
parent 6ecd85aa2f
commit 55c6588509
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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