mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 02:51:13 +01:00
Fix 'focus the compose textarea' shortcut is not working (#29059)
This commit is contained in:
parent
1726085db5
commit
3c315a68af
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue