From 29a0277398331a2ac05568e827315c8f7fabfaf9 Mon Sep 17 00:00:00 2001 From: dnahol Date: Thu, 24 Oct 2019 10:17:32 -0700 Subject: [PATCH] change getCurrentPanel to getCurrentPanelElement --- src/js/popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/popup.js b/src/js/popup.js index 6e9f3bb..ffee10a 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -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();