mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 15:05:26 +02:00
event listener updated
This commit is contained in:
parent
a463ef26eb
commit
82af94b1e5
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export default class Sidebar {
|
||||||
this.search('');
|
this.search('');
|
||||||
|
|
||||||
// Add event listener for keyboard events.
|
// Add event listener for keyboard events.
|
||||||
this.nodes.sidebarContent.addEventListener('keydown', e => this.handleKeyboardEventOnSearch(e));
|
this.nodes.search.addEventListener('keydown', e => this.handleKeyboardEventOnSearch(e));
|
||||||
|
|
||||||
this.ready();
|
this.ready();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue