« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/upd8.js
diff options
context:
space:
mode:
Diffstat (limited to 'upd8.js')
-rw-r--r--upd8.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/upd8.js b/upd8.js
index 1010a26..7bb6034 100644
--- a/upd8.js
+++ b/upd8.js
@@ -933,8 +933,8 @@ async function writePage(directoryParts, {
 
     const sidebarHTML = sidebar.content && fixWS`
         <div id="sidebar" ${classes(
-            sidebar.wide && 'wide',
-            !sidebar.collapse && 'no-hide',
+            wide && 'wide',
+            !collapse && 'no-hide',
             ...sidebar.classes || []
         )}>
             ${sidebar.content}