aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 43e4634dd..568f5bb4b 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1148,9 +1148,8 @@ function doreply(parent, ident, owner) {
form.find('input[name=parent]').val(ident);
var btn = form.find('button[type=submit]').html();
form.find('button[type=submit]').html('<i class="fa fa-reply" ></i> ' + btn);
- taid = '#comment-edit-text-' + parent.toString();
- $(taid).val("@{" + owner + "}\n");
- $(taid).focus();
+ form.find('textarea').val("@{" + owner + "}\n");
+ $('#comment-edit-text-' + parent.toString()).focus();
}
function doprofilelike(ident, verb) {