diff options
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 |
commit | ee81b1eb2a3f4077344197128096db4f6daf2d1a (patch) | |
tree | 181bc88584efd6564d6dd0be29d5ecaced6d8e24 | |
parent | 7fdba43da40563caacd943488ae8233f4be73cbd (diff) |
fix default theme not showing up
-rwxr-xr-x | upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index 6e93eb82..65461c55 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 ??= ''; |