Skip to content

Commit 07ab595

Browse files
committed
fix comment
1 parent cab554b commit 07ab595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/markup/anchors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const hasPrefix = (str: string): boolean => str.startsWith('user-content-');
66

77
// scroll to anchor while respecting the `user-content` prefix that exists on the target
88
function scrollToAnchor(encodedId?: string): void {
9-
// FIXME: need to rewrite this function with new a better "footnote.go" logic, too many tricks here
9+
// FIXME: need to rewrite this function with new a better markup anchor generation logic, too many tricks here
1010
let elemId: string;
1111
try {
1212
elemId = decodeURIComponent(encodedId ?? '');

0 commit comments

Comments
 (0)