Skip to content

Commit

Permalink
changed fix to only run if tab.url is a search page.
Browse files Browse the repository at this point in the history
  • Loading branch information
kendallcorner committed Aug 11, 2019
1 parent bd90aa2 commit 4269582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function reopenTab ({url, tab, cookieStoreId}) {
});
// We do not want to erase google container if going from
// google container back to default.
if (cookieStoreId != "firefox-default") {
if (!(isSearchPageURL(tab.url))) {
browser.tabs.remove(tab.id);
}
}
Expand Down

0 comments on commit 4269582

Please sign in to comment.