We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 603d4cd commit 76b06feCopy full SHA for 76b06fe
source/javascripts/app/_toc.js
@@ -78,6 +78,9 @@
78
$best.siblings(tocListSelector).addClass("active");
79
$toc.find(tocListSelector).filter(":not(.active)").slideUp(150);
80
$toc.find(tocListSelector).filter(".active").slideDown(150);
81
+ if (window.history.replaceState) {
82
+ window.history.replaceState(null, "", best);
83
+ }
84
// TODO remove classnames
85
document.title = joinedTitle.replace(htmlPattern, '');
86
}
0 commit comments