Browse Source
Focus the comment input on tab select/loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
tags/v14.0.0beta1
John Molakvoæ (skjnldsv)
5 years ago
No account linked to committer's email address
|
|
@@ -172,6 +172,7 @@ |
|
|
|
this.$el.find('.message').on('keydown input change', this._onTypeComment); |
|
|
|
|
|
|
|
autosize(this.$el.find('.newCommentRow .message')) |
|
|
|
this.$el.find('.newCommentForm .message').focus(); |
|
|
|
}, |
|
|
|
|
|
|
|
_initAutoComplete: function($target) { |
|
|
@@ -303,6 +304,8 @@ |
|
|
|
} |
|
|
|
); |
|
|
|
} |
|
|
|
this.$el.find('.newCommentForm .message').focus(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
/** |