This commit is contained in:
idk
2019-12-24 21:03:37 -05:00
parent 65c914a9d0
commit cd25d95fdf

View File

@@ -105,7 +105,12 @@ var contextSetup = async function(requestDetails) {
function Create(currentTab) {
function onCreated(tab) {
if (tabId.id != tab.id) {
console.log("(isolate) Closing old, un-isolated tab", tabId.id);
console.log(
"(isolate) Closing old, un-isolated tab",
tabId.id,
"in favor of",
tab.id
);
browser.tabs.remove(tabId.id);
}
}