Fix lexical declaration in a case clause

This commit is contained in:
Christopher Shea 2018-03-19 00:39:08 -04:00
parent f4561874f9
commit 58089a937d
No known key found for this signature in database
GPG key ID: C1AB098755CD0198

View file

@ -523,12 +523,13 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
case 38:
previous();
break;
case 39:
case 39: {
const showTabs = element.parentNode.querySelector(".show-tabs");
if (showTabs) {
showTabs.click();
}
break;
}
default:
if ((e.keyCode >= 49 && e.keyCode <= 57) &&
Logic._currentPanel === "containersList") {