mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 23:09:58 +02:00
Fix opening URLs in windows
This commit is contained in:
parent
845d26405b
commit
97ce49174c
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,9 @@ var ZenWorkspaces = {
|
|||
return; // We are in a hidden window, don't initialize ZenWorkspaces
|
||||
}
|
||||
console.info("ZenWorkspaces: Initializing ZenWorkspaces...");
|
||||
await this.initializeWorkspaces();
|
||||
window.SessionStore.promiseInitialized.then(async () => {
|
||||
await this.initializeWorkspaces();
|
||||
})
|
||||
console.info("ZenWorkspaces: ZenWorkspaces initialized");
|
||||
},
|
||||
|
||||
|
@ -72,9 +74,7 @@ var ZenWorkspaces = {
|
|||
activeWorkspace.used = true;
|
||||
await this.saveWorkspaces();
|
||||
}
|
||||
window.SessionStore.promiseInitialized.then(() => {
|
||||
this.changeWorkspace(activeWorkspace, true);
|
||||
});
|
||||
this.changeWorkspace(activeWorkspace, true);
|
||||
}
|
||||
this._initializeWorkspaceCreationIcons();
|
||||
this._initializeWorkspaceEditIcons();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue