ui: another non-working key, keyCode was not so bad

This commit is contained in:
jean-emmanuel 2025-03-10 21:40:03 +01:00
parent 395d4786c4
commit f9902e01e0

View file

@ -103,7 +103,7 @@ module.exports = function UiFilebrowser(options, callback) {
}
} else if (e.target === saveInput) {
return
} else if (e.key == 'DOM_VK_BACK_SPACE') {
} else if (e.key == 'DOM_VK_BACK_SPACE' || e.keyCode === 8) {
list.childNodes[0].firstElementChild.checked = true
submit()
} else if (e.key.length === 1) {