Make Enter key work when pressing Enter
This commit is contained in:
parent
30a00425ae
commit
202ef35d7a
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ window.onload = (event) => {
|
|||
selectNextItem();
|
||||
} else if (e.key == 'ArrowUp') {
|
||||
selectPreviousItem();
|
||||
} else if (e.key == 'Enter') {
|
||||
clickSelected();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue