forked from leftypol/leftypol
Fix scroll to issues with post-hover.js, clean up highlightReply
Conflicts: templates/post_reply.html templates/post_thread.html
This commit is contained in:
parent
73177fcffc
commit
8d8563a20d
5 changed files with 15 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue