mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-25 04:25:01 +01:00
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
Block a user