refactor: remove openWelcomeTab function to streamline tab management

This commit is contained in:
mr. m
2025-03-19 00:51:42 +01:00
parent 1f3b3f15ab
commit 2609248564

View File

@@ -52,13 +52,6 @@
}
}
function openWelcomeTab() {
const tab = window.gBrowser.addTrustedTab('https://zen-browser.app/welcome', {
inBackground: true,
});
gBrowser.selectedTab = tab;
}
class ZenWelcomePages {
constructor(pages) {
this._currentPage = -1;
@@ -410,7 +403,6 @@
_tabsToPinEssentials.push(createdTab);
}
openInitialPinTab();
openWelcomeTab();
},
},
{