fx-compat: Scaffold: Prevent Space from scrolling translator list

This commit is contained in:
Abe Jellinek 2022-08-30 10:07:15 -04:00
parent 00b24f85c9
commit 0fe394082c

View file

@ -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