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
parent
commit
b7317a35e7
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      apps/comments/js/commentstabview.js

+ 3
- 0
apps/comments/js/commentstabview.js 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();
},

/**

Loading…
Cancel
Save