Fixed stealing of hash fragments when using navigation tracking

This commit is contained in:
squidfunk
2022-02-26 10:27:12 +01:00
parent e3c26215de
commit 8deb1c2425
6 changed files with 23 additions and 17 deletions

View File

@@ -229,7 +229,7 @@ const content$ = defer(() => merge(
/* Table of contents */
...getComponentElements("toc")
.map(el => mountTableOfContents(el, { viewport$, header$ })),
.map(el => mountTableOfContents(el, { viewport$, header$, target$ })),
/* Back-to-top button */
...getComponentElements("top")