diff --git a/templates/main.js b/templates/main.js index 188e7a18..1329a209 100644 --- a/templates/main.js +++ b/templates/main.js @@ -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; }