mirror of
https://github.com/placeholder-soft/prodigyapi.git
synced 2026-04-28 11:55:00 +08:00
Partially reverts 95f924fd0d.
This commit is contained in:
committed by
Robert Lord
parent
603d4cd797
commit
76b06fede7
@@ -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, '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user