aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/js
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-01-18 07:46:54 +0800
committerGravatar hedy <[email protected]>2024-01-18 07:46:54 +0800
commit9f04f20268230e8bc2594c325214cde3678335b0 (patch)
tree7f48d0bda747f5499058cd73d433956186032046 /pydis_site/static/js
parentDark: For content pages using transparent images... (diff)
Dark: Improve order of switching stylesheets
Diffstat (limited to 'pydis_site/static/js')
-rw-r--r--pydis_site/static/js/base/themes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/static/js/base/themes.js b/pydis_site/static/js/base/themes.js
index 2a57cad4..c1a5f006 100644
--- a/pydis_site/static/js/base/themes.js
+++ b/pydis_site/static/js/base/themes.js
@@ -26,8 +26,8 @@ function setStyleSheets(newTheme) {
darkStylesheet.disabled = true;
break;
case "dark":
- lightStylesheet.disabled = true;
darkStylesheet.disabled = false;
+ lightStylesheet.disabled = true;
break;
}