fix: Fixed compact mode hovering showing the urlbar for a moment, b=no-bug, c=workspaces, compact-mode, tests

This commit is contained in:
mr. m
2025-08-11 18:48:36 +02:00
parent 3229126f14
commit bf69ac13b2
6 changed files with 25 additions and 22 deletions

View File

@@ -2550,7 +2550,10 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
const workspaceId = this.#contextMenuData?.workspaceId || this.activeWorkspace;
const [title, body] = await document.l10n.formatValues([
{ id: 'zen-workspaces-delete-workspace-title' },
{ id: 'zen-workspaces-delete-workspace-body' },
{
id: 'zen-workspaces-delete-workspace-body',
args: { name: this.getWorkspaceFromId(workspaceId).name },
},
]);
if (Services.prompt.confirm(null, title, body)) {
await this.removeWorkspace(workspaceId);