From 3b58806c8a8bac5dfe4199310899d34121f6493b Mon Sep 17 00:00:00 2001 From: "Mr. M" Date: Wed, 8 Oct 2025 13:38:16 +0200 Subject: [PATCH] fix: Fixed freezing when opening external links, b=bug #10666, c=workspaces --- src/zen/workspaces/ZenWorkspaces.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index bbb01f5ee..ceac62ff7 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -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; }