Skip to content

Commit 26e791b

Browse files
committed
oops, fixed the wrong lack of focus
1 parent f0c1bec commit 26e791b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/assets/javascripts/comments.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ $(() => {
316316

317317
if ($reply.is(':hidden')) {
318318
$reply.show();
319+
$reply.find('.js-comment-field').trigger('focus');
319320
}
320321
else {
321322
$reply.hide();

0 commit comments

Comments
 (0)