From dadf3c1625e9325b25d1fcf08c4021713d02f55e Mon Sep 17 00:00:00 2001 From: triptishukla Date: Wed, 30 Oct 2019 10:03:24 +0530 Subject: [PATCH] made changes --- 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 cf45c49..9d0d3aa 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -892,7 +892,7 @@ Logic.registerPanel(P_CONTAINERS_EDIT, { tr.querySelector(".container-name").textContent = identity.name; tr.querySelector(".edit-container").setAttribute("title", `Edit ${identity.name} container`); tr.querySelector(".remove-container").setAttribute("title", `Remove ${identity.name} container`); - + Logic.addEnterHandler(tr, e => { if (e.target.matches(".edit-container-icon") || e.target.parentNode.matches(".edit-container-icon")) { Logic.showPanel(P_CONTAINER_EDIT, identity); @@ -1041,7 +1041,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, { templateInstance.innerHTML = iconRadioTemplate(containerIcon); iconRadioFieldset.appendChild(templateInstance); }); - },P_CONTAINERS_EDIT + }, // This method is called when the panel is shown. async prepare() {