Fix 'focus the compose textarea' shortcut is not working (#29059)
This commit is contained in:
parent
1726085db5
commit
3c315a68af
|
@ -438,7 +438,7 @@ class UI extends PureComponent {
|
|||
handleHotkeyNew = e => {
|
||||
e.preventDefault();
|
||||
|
||||
const element = this.node.querySelector('.compose-form__autosuggest-wrapper textarea');
|
||||
const element = this.node.querySelector('.autosuggest-textarea__textarea');
|
||||
|
||||
if (element) {
|
||||
element.focus();
|
||||
|
|
Loading…
Reference in New Issue