diff options
author | Florrie <towerofnix@gmail.com> | 2019-04-11 21:25:20 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-04-11 21:25:20 -0300 |
commit | 2d10be31973a146b5039b3804fac2acf22955b15 (patch) | |
tree | ac3733083aabfc83a1a10f366cc2d5f3e29b542c | |
parent | e4ba8ea5bc16ffd0a324ac50492277c9926329c6 (diff) |
Remove dead keyboard shortcut code
-rw-r--r-- | ui.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ui.js b/ui.js index 72079ae..ba60ca0 100644 --- a/ui.js +++ b/ui.js @@ -2295,16 +2295,6 @@ class ContextMenu extends FocusElement { return false } else if (this.keyboardSelector.keyPressed(keyBuf)) { return false - - const key = String.fromCharCode(keyBuf[0]).toLowerCase() - for (const input of this.form.inputs) { - if (input.selectable && input.menuKeyShortcut) { - if (input.menuKeyShortcut.toLowerCase() === key) { - this.form.selectInput(input) - return false - } - } - } } super.keyPressed(keyBuf) } |