Update darkmode.js

This commit is contained in:
css pro 2024-10-01 15:54:29 -07:00 committed by GitHub
parent 7be3677010
commit 0245f45d25
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 = function dClick(){
dCheck.onClick() = function dClick(){
console.log("heck yeah");
var inputs = document.getElementsByTagName('input');
var body = document.body;