Fix scroll to issues with post-hover.js, clean up highlightReply

This commit is contained in:
8chan 2014-06-12 15:36:01 +00:00 committed by Fredrick Brennan
parent 427a9938a7
commit 1d6f46d9bb
5 changed files with 15 additions and 15 deletions

View file

@ -155,7 +155,7 @@ function highlightReply(id) {
if (post)
post.className += ' highlighted';
}
return false;
return true;
}
function generatePassword() {
@ -187,6 +187,8 @@ function dopost(form) {
function citeReply(id, with_link) {
var textarea = document.getElementById('body');
if (!textarea) return false;
if (document.selection) {
// IE