Focus the comment input on tab select/loading

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-07-21 18:10:41 +02:00 committed by Roeland Jago Douma
parent dfe6c1b7e2
commit b7317a35e7
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 3 additions and 0 deletions

View File

@ -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();
},
/**