From 37a256934e8a8da9fbc4539859790aeb6c4a3d0f Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Sat, 28 May 2022 03:10:18 -0700 Subject: [PATCH] Update and rename thorium.js to button.js --- website/js/{thorium.js => button.js} | 2 ++ 1 file changed, 2 insertions(+) rename website/js/{thorium.js => button.js} (88%) diff --git a/website/js/thorium.js b/website/js/button.js similarity index 88% rename from website/js/thorium.js rename to website/js/button.js index ad453d5a..ae260eea 100644 --- a/website/js/thorium.js +++ b/website/js/button.js @@ -1,3 +1,5 @@ +// Dark mode button. + document.querySelector('button').onclick = function() { useDark = !useDark; toggleDarkMode(useDark);