fix: Fixed freezing when opening external links, b=bug #10666, c=workspaces

This commit is contained in:
Mr. M
2025-10-08 13:38:16 +02:00
parent ab6a8ee717
commit 3b58806c8a

View File

@@ -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;
}