Fix focusing search bar with hotkeys

This commit is contained in:
Thibaut Girka 2018-07-24 20:41:46 +02:00 committed by ThibG
parent c600bcfe1d
commit b1ed2b1d03
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ export default class UI extends React.Component {
handleHotkeySearch = e => { handleHotkeySearch = e => {
e.preventDefault(); e.preventDefault();
const element = this.node.querySelector('.search__input'); const element = this.node.querySelector('.drawer--search input');
if (element) { if (element) {
element.focus(); element.focus();