diff options
Diffstat (limited to 'templates/main.js')
| -rw-r--r-- | templates/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/main.js b/templates/main.js index 231b8043..f7b99a42 100644 --- a/templates/main.js +++ b/templates/main.js @@ -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 |
