Browse Source

Focus the comment input on tab select/loading

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/10327/head
John Molakvoæ (skjnldsv) 7 years ago
committed by Roeland Jago Douma
parent
commit
b7317a35e7
No known key found for this signature in database GPG Key ID: F941078878347C0C
  1. 3
      apps/comments/js/commentstabview.js

3
apps/comments/js/commentstabview.js

@ -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…
Cancel
Save