From 791d5098a047adf67b6da705552e64ef966d0453 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 18 Nov 2020 12:28:20 +0000 Subject: fix regression --- view/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/js') diff --git a/view/js/main.js b/view/js/main.js index f807fb366..6d39adc39 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1171,7 +1171,7 @@ function doreply(parent, ident, owner, hint) { var sel = 'wall-item-body-' + ident.toString(); var quote = window.getSelection().toString().trim(); form.find('textarea').val("@{" + owner + "}" + ((($(window.getSelection().anchorNode).closest("#" + sel).attr("id") != sel) || (quote.length === 0))? " " : "\n[quote]" + quote + "[/quote]\n")); - $('#comment-edit-text-' + parent.toString()).focus(); + $('#comment-edit-text-' + parent.toString()).focus().trigger('click'); } function doscroll(parent, hidden) { -- cgit v1.2.3