fix #2603: remember choice to always open in default containers

This commit is contained in:
Rafee
2024-07-23 11:39:26 -04:00
parent 1537e9f6f2
commit cd343ab8c3
2 changed files with 20 additions and 3 deletions
+5
View File
@@ -165,6 +165,11 @@ window.assignManager = {
_neverAsk(m) {
const pageUrl = m.pageUrl;
if (m.neverAsk === true) {
if (m.defaultContainer === true) {
this.storageArea.remove(pageUrl);
return;
}
// If we have existing data and for some reason it hasn't been
// deleted etc lets update it
this.storageArea.get(pageUrl).then((siteSettings) => {