Focus the comment input on tab select/loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
dfe6c1b7e2
commit
b7317a35e7
|
@ -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();
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue