From 976dd358104ce7675ba06002969f8d3fffdacbdb Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 9 Mar 2020 19:21:11 -0400 Subject: [PATCH] cleaned up the comments --- src/js/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/popup.js b/src/js/popup.js index ff4ecc0..2a2afcd 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -288,8 +288,8 @@ const Logic = { this._previousPanel = this._currentPanel; this._currentPanel = panel; - // Note: this may not be the best approach to this, may want to refactor it this._currentIdentity = currentIdentity; + // Initialize the panel before showing it. await this._panels[panel].prepare(); Object.keys(this._panels).forEach((panelKey) => {