ctrl+w=close window & minor fixes

This commit is contained in:
bordun 2020-03-12 11:01:59 +01:00
parent 97c504e79a
commit e1eb6b5df1
5 changed files with 26 additions and 19 deletions

View file

@ -103,7 +103,7 @@ class Keys extends Widget {
keyUp(e) {
if (e.target && e.target.classList.contains('no-keybinding')) return
if (e.target && (e.target.tagName === 'INPUT' || e.target.tabName === 'TEXTAREA' || e.target.tabName === 'SELECT')) return
e.preventDefault()