diff options
author | Max Kostikov <max@kostikov.co> | 2019-04-29 23:40:21 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-04-29 23:40:21 +0200 |
commit | c0be4c36e1a80fcc1caae16b70c5d624e259f491 (patch) | |
tree | 249794e33de2b21f620beed9f73da229cab52ad1 | |
parent | 31e04378cda30421159765fba029ddc7859dfbe5 (diff) | |
download | volse-hubzilla-c0be4c36e1a80fcc1caae16b70c5d624e259f491.tar.gz volse-hubzilla-c0be4c36e1a80fcc1caae16b70c5d624e259f491.tar.bz2 volse-hubzilla-c0be4c36e1a80fcc1caae16b70c5d624e259f491.zip |
Update main.js
-rw-r--r-- | view/js/main.js | 5 |
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) { |