mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update and rename thorium.js to button.js
This commit is contained in:
parent
44bb82777b
commit
37a256934e
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
// Dark mode button.
|
||||
|
||||
document.querySelector('button').onclick = function() {
|
||||
useDark = !useDark;
|
||||
toggleDarkMode(useDark);
|
Loading…
Reference in a new issue