mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-30 12:21:55 +00:00
fix: Fixed freezing when opening external links, b=bug #10666, c=workspaces
This commit is contained in:
@@ -2563,7 +2563,9 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
|
||||
this._lastSelectedWorkspaceTabs[workspaceID] = gZenGlanceManager.getTabOrGlanceParent(tab);
|
||||
tab.removeAttribute('change-workspace');
|
||||
const workspace = this.getWorkspaceFromId(workspaceID);
|
||||
await this.changeWorkspace(workspace);
|
||||
setTimeout(() => {
|
||||
this.changeWorkspace(workspace);
|
||||
}, 0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user