We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caba869 commit 59eae1bCopy full SHA for 59eae1b
src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js
@@ -1055,8 +1055,8 @@ function setupArticleTocSyncing() {
1055
// contains a link to itself).
1056
if (event.target.closest("a")) {
1057
// Defer the sync operation because window.location.hash does not change
1058
- // until after the default action (i.e., the link click) for the event has
1059
- // happened.
+ // until after the default action for the event has happened (i.e., the
+ // link click).
1060
setTimeout(() => {
1061
syncTocHash();
1062
}, 0);
0 commit comments