From a2c595d0d0cd2f21ebe005112594f339e8668bb1 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 24 Jul 2018 20:41:46 +0200 Subject: [PATCH] Fix focusing search bar with hotkeys --- 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 94818959e0..7024e60da1 100644 --- a/app/javascript/flavours/glitch/features/ui/index.js +++ b/app/javascript/flavours/glitch/features/ui/index.js @@ -279,7 +279,7 @@ export default class UI extends React.Component { handleHotkeySearch = e => { e.preventDefault(); - const element = this.node.querySelector('.search__input'); + const element = this.node.querySelector('.drawer--search input'); if (element) { element.focus();