From ca01177e7f0a3faecb708db6d57509b481d77e37 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 8 Mar 2020 23:10:09 -0400 Subject: [PATCH] cleared up the code --- src/js/popup.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/js/popup.js b/src/js/popup.js index 5ba53a1..43bc529 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -983,7 +983,7 @@ Logic.registerPanel(P_CONTAINERS_EDIT, { */ const selectedIdentities = Logic.currentSelectedIdentities(); if (selectedIdentities.length > 0) { - await Logic.showPanel(P_CONTAINER_DELETE, null, Logic.currentSelectedIdentities()); + await Logic.showPanel(P_CONTAINER_DELETE, null, selectedIdentities); } }); }, @@ -1256,8 +1256,7 @@ Logic.registerPanel(P_CONTAINER_DELETE, { currentSelection = [Logic.currentIdentity()]; } - let i = 0; - // TODO right now for mult-selection, it displays the first item in the selection at the icon and name + // right now for mult-selection, it displays the first item in the selection at the icon and name // Populating the panel: name, icon, and warning message document.getElementById("delete-container-name").textContent = currentSelection[0].name; document.getElementById("delete-container-tab-warning").textContent = ``;