mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 04:08:40 +00:00
Do not push history state. The browser already handles back properly (#878)
This commit is contained in:
parent
e97630b186
commit
95f924fd0d
1 changed files with 0 additions and 3 deletions
|
|
@ -76,9 +76,6 @@
|
|||
$best.siblings(tocListSelector).addClass("active");
|
||||
$toc.find(tocListSelector).filter(":not(.active)").slideUp(150);
|
||||
$toc.find(tocListSelector).filter(".active").slideDown(150);
|
||||
if (window.history.pushState) {
|
||||
window.history.pushState(null, "", best);
|
||||
}
|
||||
// TODO remove classnames
|
||||
document.title = $best.data("title") + " – " + originalTitle;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue