fx-compat: Scaffold: Prevent Space from scrolling translator list
This commit is contained in:
parent
00b24f85c9
commit
0fe394082c
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ var Scaffold_Load = new function() {
|
|||
window.close();
|
||||
});
|
||||
|
||||
listbox.addEventListener('keydown', (e) => {
|
||||
if (e.key == ' ') {
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
var translators = {};
|
||||
|
||||
// Get the matching translators
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue