diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2020-10-29 12:20:02 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2020-10-29 12:20:02 -0300 |
commit | 8419ad1e5431184f309a0f1ee4547f20fb1813c1 (patch) | |
tree | ea5d662631847b793f35a668efd1e960ccf6518c /upd8.js | |
parent | 4c03731a140d5d8a68ae330a2884f210acae511c (diff) |
fix a collapsing sidebar issue
Diffstat (limited to 'upd8.js')
-rw-r--r-- | upd8.js | 4 |
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} |