Update modeTheme.js

This commit is contained in:
Code Hangen 2022-12-15 00:12:42 -03:00 committed by GitHub
parent 3b2b69c7db
commit 417f36431d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,4 +2,6 @@
function darkModetheme() { function darkModetheme() {
var element = document.body; var element = document.body;
element.classList.toggle("dark-mode"); element.classList.toggle("dark-mode");
var btn1 = document.getElementById("btn1");
element.classList.toggle("btn1DarkMode");
} }