diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/comments.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/comments.js b/js/comments.js index 0cc4fb9eb..30baf53f4 100644 --- a/js/comments.js +++ b/js/comments.js @@ -29,8 +29,8 @@ function replyToComment(id, real_id, replyto_header, text) { /* <textarea id="comment"> */ var textarea = document.getElementById('comment'); - if (!textarea.value.startsWith(replytext)) { - textarea.value = replytext+"\n"+textarea.value; + if (textarea.value != replytext) { + textarea.value += replytext; } textarea.focus(); |