mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Replace hardcoded homepage URL with BROWSER_NEW_TAB_URL in ZenWorkspaces (closes #3201)
This commit is contained in:
@@ -1202,7 +1202,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
}
|
||||
|
||||
_createNewTabForWorkspace(window) {
|
||||
let tab = gZenUIManager.openAndChangeToTab(Services.prefs.getStringPref('browser.startup.homepage'));
|
||||
let tab = gZenUIManager.openAndChangeToTab(BROWSER_NEW_TAB_URL);
|
||||
|
||||
if(window.uuid){
|
||||
tab.setAttribute('zen-workspace-id', window.uuid);
|
||||
|
Reference in New Issue
Block a user