From 93dfc11fbb9ff135353c74dd6df2e6d61a3a083e Mon Sep 17 00:00:00 2001 From: 8chan Date: Fri, 6 Mar 2015 02:04:32 -0800 Subject: [PATCH] Fix mod.php highlightReply --- templates/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }