« get me outta code hell

fix default theme not showing up - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-02-12 11:21:21 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-02-12 11:21:42 -0400
commitee81b1eb2a3f4077344197128096db4f6daf2d1a (patch)
tree181bc88584efd6564d6dd0be29d5ecaced6d8e24
parent7fdba43da40563caacd943488ae8233f4be73cbd (diff)
fix default theme not showing up
-rwxr-xr-xupd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index 6e93eb8..65461c5 100755
--- a/upd8.js
+++ b/upd8.js
@@ -1507,7 +1507,7 @@ async function writePage(directoryParts, {
 }) {
     body.style ??= '';
 
-    theme = theme ?? getThemeString(wikiInfo);
+    theme = theme || getThemeString(wikiInfo);
 
     main.classes ??= [];
     main.content ??= '';