From 38946742007d94f561b338f1d57cada76cbd752f Mon Sep 17 00:00:00 2001 From: "y.takahashi" Date: Fri, 2 Feb 2024 15:33:53 +0900 Subject: [PATCH] [Glitch] Fix 'focus the compose textarea' shortcut is not working Port 3c315a68afdb3b6ea1bc66b66bc7dcd49a335a08 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/features/ui/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/ui/index.jsx b/app/javascript/flavours/glitch/features/ui/index.jsx index b10bd04219..8882966213 100644 --- a/app/javascript/flavours/glitch/features/ui/index.jsx +++ b/app/javascript/flavours/glitch/features/ui/index.jsx @@ -483,7 +483,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();