Skip to content

Commit 29a2f09

Browse files
committed
fix header navigation
1 parent 66d6337 commit 29a2f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/markdown/anchors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function scrollToAnchor() {
1616
}
1717

1818
export default function initMarkdownAnchors() {
19-
if (!document.querySelector('.markdown')) return;
19+
if (!document.querySelector('.markup')) return;
2020

2121
for (const heading of document.querySelectorAll(headingSelector)) {
2222
const originalId = heading.id.replace(/^user-content-/, '');

0 commit comments

Comments
 (0)