about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-24 20:41:46 +0200
committerThibG <thib@sitedethib.com>2018-07-24 21:15:21 +0200
commitb1ed2b1d03cc57cfae8593cc37e2f521c125a033 (patch)
treeaececbff373855b7e9262bd059003ea11dafb97e /app/javascript/flavours/glitch/features
parentc600bcfe1da3585245112edb596c8cc776959600 (diff)
Fix focusing search bar with hotkeys
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r--app/javascript/flavours/glitch/features/ui/index.js2
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 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();