summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
author8chan <admin@8chan.co>2014-04-19 20:02:39 +0000
committerczaks <marcin@6irc.net>2014-09-25 06:56:24 +0200
commite81d016ffac5a5e7f73a9aafe35a221397b51a51 (patch)
tree2f6221bc62e64d98ff23cb73acd62a8ebb6e0553 /templates
parentdbaeb395acf6ad1e95f7623c2853d9d702920bb5 (diff)
Attempt to fix scroll to anchor issue
Diffstat (limited to 'templates')
-rw-r--r--templates/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/main.js b/templates/main.js
index 97f1135f..9286d201 100644
--- a/templates/main.js
+++ b/templates/main.js
@@ -154,6 +154,7 @@ function highlightReply(id) {
var post = document.getElementById('reply_'+id);
if (post)
post.className += ' highlighted';
+ window.location.hash = id;
}
return true;
}