« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--upd8.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/upd8.js b/upd8.js
index 1010a268..7bb60348 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}