diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-07-24 20:41:46 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-07-24 21:15:21 +0200 |
commit | b1ed2b1d03cc57cfae8593cc37e2f521c125a033 (patch) | |
tree | aececbff373855b7e9262bd059003ea11dafb97e | |
parent | c600bcfe1da3585245112edb596c8cc776959600 (diff) |
Fix focusing search bar with hotkeys
-rw-r--r-- | app/javascript/flavours/glitch/features/ui/index.js | 2 |
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(); |