summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/comments.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index ea0b774c0..635fc5848 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -52,7 +52,9 @@
/* <textarea id="comment"> */
var textarea = document.getElementById('comment');
- textarea.value += replytext;
+ if (textarea.value != replytext) {
+ textarea.value += replytext;
+ }
textarea.focus();
}