Fix comment edit field expansion on reply on comment

This commit is contained in:
Max Kostikov 2019-05-03 10:03:40 +02:00
parent 59ee045c24
commit 3528610a51

View File

@ -1155,8 +1155,8 @@ function doreply(parent, ident, owner, hint) {
var btn = i.html().replace(/<[^>]*>/g, '').trim();
i.html('<i class="fa fa-reply" ></i> ' + btn);
i.prop('title', hint);
form.find('textarea').val("@{" + owner + "} ");
$('#comment-edit-text-' + parent.toString()).focus();
form.find('textarea').val("@{" + owner + "} ");
}
function dropItem(url, object) {