diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-07-24 20:39:35 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-07-24 21:15:21 +0200 |
commit | c600bcfe1da3585245112edb596c8cc776959600 (patch) | |
tree | e027e133bfc739fd4c4d2af9803779f40fc864fa /app/javascript/flavours/glitch/features | |
parent | 037228cf0382edc3512546b60c1ee11388da86c8 (diff) |
Fix focusing composer textarea on “new toot” hotkey
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/ui/index.js b/app/javascript/flavours/glitch/features/ui/index.js index a0b8a8257..94818959e 100644 --- a/app/javascript/flavours/glitch/features/ui/index.js +++ b/app/javascript/flavours/glitch/features/ui/index.js @@ -269,7 +269,7 @@ export default class UI extends React.Component { handleHotkeyNew = e => { e.preventDefault(); - const element = this.node.querySelector('.compose-form__autosuggest-wrapper textarea'); + const element = this.node.querySelector('.composer--textarea textarea'); if (element) { element.focus(); |