From c600bcfe1da3585245112edb596c8cc776959600 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 24 Jul 2018 20:39:35 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20focusing=20composer=20textarea=20on=20?= =?UTF-8?q?=E2=80=9Cnew=20toot=E2=80=9D=20hotkey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/flavours/glitch/features/ui/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/ui/index.js b/app/javascript/flavours/glitch/features/ui/index.js index a0b8a8257c..94818959e0 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();