mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 04:08:40 +00:00
Partially reverts 95f924fd0d.
This commit is contained in:
parent
603d4cd797
commit
76b06fede7
1 changed files with 3 additions and 0 deletions
|
|
@ -78,6 +78,9 @@
|
|||
$best.siblings(tocListSelector).addClass("active");
|
||||
$toc.find(tocListSelector).filter(":not(.active)").slideUp(150);
|
||||
$toc.find(tocListSelector).filter(".active").slideDown(150);
|
||||
if (window.history.replaceState) {
|
||||
window.history.replaceState(null, "", best);
|
||||
}
|
||||
// TODO remove classnames
|
||||
document.title = joinedTitle.replace(htmlPattern, '');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue