From b1ed2b1d03cc57cfae8593cc37e2f521c125a033 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 24 Jul 2018 20:41:46 +0200 Subject: Fix focusing search bar with hotkeys --- app/javascript/flavours/glitch/features/ui/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/javascript/flavours/glitch/features/ui/index.js b/app/javascript/flavours/glitch/features/ui/index.js index 94818959e..7024e60da 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(); -- cgit