mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update PostComponent, update mention handler. Fixes #2421
This commit is contained in:
parent
e51665f6e3
commit
dac060888a
1 changed files with 3 additions and 1 deletions
|
@ -1149,8 +1149,10 @@ export default {
|
|||
this.replyToIndex = index;
|
||||
this.replyingToId = e.id;
|
||||
this.reply_to_profile_id = e.account.id;
|
||||
let username = e.account.local ? '@' + e.account.username + ' '
|
||||
: '@' + e.account.acct + ' ';
|
||||
if(prependUsername == true) {
|
||||
this.replyText = '@' + e.account.username + ' ';
|
||||
this.replyText = username;
|
||||
}
|
||||
$('textarea[name="comment"]').focus();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue