Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
Do not push history state. The browser already handles back properly (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
ztoolson authored and lord committed Sep 14, 2017
1 parent e97630b commit 95f924f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/javascripts/app/_toc.js
Expand Up @@ -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;
}
Expand Down

0 comments on commit 95f924f

Please sign in to comment.