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:
parent
0380f6d579
commit
93dfc11fbb
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user