mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 14:39:58 +02:00
Merge branch 'zen-browser:main' into main
This commit is contained in:
commit
118de1ed15
1 changed files with 3 additions and 3 deletions
|
@ -65,6 +65,9 @@ var ZenWorkspaces = {
|
||||||
await IOUtils.writeJSON(this._storeFile, {});
|
await IOUtils.writeJSON(this._storeFile, {});
|
||||||
}
|
}
|
||||||
if (this.workspaceEnabled) {
|
if (this.workspaceEnabled) {
|
||||||
|
this._initializeWorkspaceCreationIcons();
|
||||||
|
this._initializeWorkspaceEditIcons();
|
||||||
|
this._initializeWorkspaceTabContextMenus();
|
||||||
window.addEventListener('TabClose', this.handleTabClose.bind(this));
|
window.addEventListener('TabClose', this.handleTabClose.bind(this));
|
||||||
let workspaces = await this._workspaces();
|
let workspaces = await this._workspaces();
|
||||||
if (workspaces.workspaces.length === 0) {
|
if (workspaces.workspaces.length === 0) {
|
||||||
|
@ -83,9 +86,6 @@ var ZenWorkspaces = {
|
||||||
}
|
}
|
||||||
this.changeWorkspace(activeWorkspace, true);
|
this.changeWorkspace(activeWorkspace, true);
|
||||||
}
|
}
|
||||||
this._initializeWorkspaceCreationIcons();
|
|
||||||
this._initializeWorkspaceEditIcons();
|
|
||||||
this._initializeWorkspaceTabContextMenus();
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue