Skip to content

Commit 3fc3c23

Browse files
committed
Always initialize sidebar
1 parent 878735d commit 3fc3c23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/js/sidebar/sidebar-drawer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if (!isEmbedded) {
5151
export function update () {
5252
const pref = sessionStorage.getItem(SIDEBAR_STATE_KEY)
5353
const open = pref !== SIDEBAR_PREF_CLOSED && !smallScreenQuery.matches
54-
if (open) initializeList()
54+
initializeList()
5555
updateSidebar(open)
5656
}
5757

0 commit comments

Comments
 (0)