Fix 'focus the compose textarea' shortcut is not working (#29059)

This commit is contained in:
y.takahashi 2024-02-02 15:33:53 +09:00 committed by GitHub
parent 1726085db5
commit 3c315a68af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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();