Skip to content

Commit 08d4a65

Browse files
committed
Merge branch 'type-definitions' of github.com:docsifyjs/docsify into type-definitions
* 'type-definitions' of github.com:docsifyjs/docsify: Update src/core/event/index.js
2 parents cb41307 + f672341 commit 08d4a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/event/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export function Events(Base) {
252252
const hasSubSidebar = linkParent?.querySelector('.app-sub-sidebar');
253253

254254
if (hasSubSidebar) {
255-
dom.body.classList.toggle('collapse');
255+
linkParent.classList.toggle('collapse');
256256
}
257257
});
258258
}

0 commit comments

Comments
 (0)