Update and rename thorium.js to button.js

This commit is contained in:
Alexander David Frick 2022-05-28 03:10:18 -07:00 committed by GitHub
parent 44bb82777b
commit 37a256934e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,5 @@
// Dark mode button.
document.querySelector('button').onclick = function() { document.querySelector('button').onclick = function() {
useDark = !useDark; useDark = !useDark;
toggleDarkMode(useDark); toggleDarkMode(useDark);