mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
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
Reference in a new issue