Skip to content

Commit 4269582

Browse files
committed
changed fix to only run if tab.url is a search page.
1 parent bd90aa2 commit 4269582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function reopenTab ({url, tab, cookieStoreId}) {
239239
});
240240
// We do not want to erase google container if going from
241241
// google container back to default.
242-
if (cookieStoreId != "firefox-default") {
242+
if (!(isSearchPageURL(tab.url))) {
243243
browser.tabs.remove(tab.id);
244244
}
245245
}

0 commit comments

Comments
 (0)