Skip to content

Commit caba869

Browse files
committed
comment
1 parent 122486b commit caba869

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,9 +1050,9 @@ function setupArticleTocSyncing() {
10501050
// the table of contents.
10511051
window.addEventListener("click", (event) => {
10521052
// Match any link because an in-page ("hash link") can occur anywhere on the
1053-
// page (e.g., one section of the page linking to another section of the
1054-
// page, also each of the headings contains a link to itself), not just in
1055-
// the side table of contents.
1053+
// page, not just in the side table of contents (e.g., one section of the
1054+
// page linking to another section of the page, also each of the headings
1055+
// contains a link to itself).
10561056
if (event.target.closest("a")) {
10571057
// Defer the sync operation because window.location.hash does not change
10581058
// until after the default action (i.e., the link click) for the event has

0 commit comments

Comments
 (0)