change getCurrentPanel to getCurrentPanelElement
This commit is contained in:
parent
2cddbefb63
commit
29a0277398
1 changed files with 2 additions and 2 deletions
|
@ -383,7 +383,7 @@ const Logic = {
|
|||
}
|
||||
},
|
||||
|
||||
getCurrentPanel() {
|
||||
getCurrentPanelElement() {
|
||||
const panelItem = this._panels[this._currentPanel];
|
||||
return document.querySelector(this.getPanelSelector(panelItem));
|
||||
},
|
||||
|
@ -556,7 +556,7 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
|
|||
previous();
|
||||
break;
|
||||
case 13: {
|
||||
const panel = Logic.getCurrentPanel();
|
||||
const panel = Logic.getCurrentPanelElement();
|
||||
const button = panel.getElementsByTagName("A")[0];
|
||||
if(button) {
|
||||
button.click();
|
||||
|
|
Loading…
Add table
Reference in a new issue