1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-17 19:29:28 +01:00

Fix mod.php highlightReply

This commit is contained in:
8chan 2015-03-06 02:04:32 -08:00
parent 0380f6d579
commit 93dfc11fbb

View File

@ -309,7 +309,7 @@ function highlightReply(id, event) {
post.className += ' highlighted';
if (history.pushState) {
history.pushState(null, null, window.document.location.origin + window.document.location.pathname + '#' + id);
history.pushState(null, null, window.document.location.origin + window.document.location.pathname + window.document.location.search + '#' + id);
} else {
window.location.hash = id;
}