mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Fix focusing search bar with hotkeys
This commit is contained in:
parent
c600bcfe1d
commit
b1ed2b1d03
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue