fx-compat: Scaffold: Fix type-to-find not receiving ' '
This commit is contained in:
parent
1aebad3c19
commit
ac8db7a376
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ var Scaffold_Load = new function() {
|
|||
window.close();
|
||||
});
|
||||
|
||||
listbox.addEventListener('keydown', (e) => {
|
||||
if (e.key == ' ') {
|
||||
listbox.addEventListener('keypress', (e) => {
|
||||
if (e.key == ' ' && e.target == listbox) {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue