Merge pull request #1097 from crenwick/fix-unwanted-shortcut-bug
Fixes #1084.
This commit is contained in:
commit
4d12e208ad
1 changed files with 2 additions and 1 deletions
|
@ -524,7 +524,8 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
|
|||
previous();
|
||||
break;
|
||||
default:
|
||||
if (e.keyCode >= 49 && e.keyCode <= 57) {
|
||||
if ((e.keyCode >= 49 && e.keyCode <= 57) &&
|
||||
Logic._currentPanel === "containersList") {
|
||||
const element = selectables[e.keyCode - 48];
|
||||
if (element) {
|
||||
element.click();
|
||||
|
|
Loading…
Add table
Reference in a new issue