Open tab should show the hidden tabs first

This commit is contained in:
baku
2017-02-18 21:56:36 +01:00
parent e1bb634f10
commit 43bef3af7c
2 changed files with 17 additions and 13 deletions
+3 -8
View File
@@ -247,14 +247,9 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
tr.addEventListener("click", e => {
if (e.target.matches(".open-newtab")) {
browser.runtime.sendMessage({
method: "showTabs",
userContextId: identity.userContextId
}).then(() => {
return browser.runtime.sendMessage({
method: "openTab",
userContextId: identity.userContextId,
source: "pop-up"
});
method: "openTab",
userContextId: identity.userContextId,
source: "pop-up"
}).then(() => {
window.close();
}).catch(() => {