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 3d9b652ea..d6a9fcca2 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -35,7 +35,9 @@
/* <textarea id="comment"> */
var textarea = document.getElementById('comment');
- textarea.value += replytext;
+ if (textarea.value != replytext) {
+ textarea.value += replytext;
+ }
textarea.focus();
}