diff --git a/background.js b/background.js index 485c3dd..c16a8f7 100644 --- a/background.js +++ b/background.js @@ -182,9 +182,12 @@ function themeWindow(window) { } }); } - browser.pageAction.setPopup({tabId: tabInfo[0].id, popup: "security.html"}) + browser.pageAction.setPopup({ + tabId: tabInfo[0].id, + popup: "security.html" + }); //console.log("(background) tabinfo", tabInfo[0].id) - browser.pageAction.show(tabInfo[0].id) + browser.pageAction.show(tabInfo[0].id); } else if (context.name == routerpref) { console.log("Active in Router Console window"); if (window.incognito) { diff --git a/scrub.js b/scrub.js index 563e697..65853db 100644 --- a/scrub.js +++ b/scrub.js @@ -108,7 +108,10 @@ var contextSetup = function(requestDetails) { console.log("with context", tab.cookieStoreId); browser.tabs.remove(tabId.id); } - browser.pageAction.setPopup({tabId: tabId[0].id, popup: "security.html"}) + browser.pageAction.setPopup({ + tabId: tabId[0].id, + popup: "security.html" + }); browser.pageAction.show(tabId.id); } closeOldTab(tab);