mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-25 00:35:42 +00:00
fix: Fixed compact mode hovering showing the urlbar for a moment, b=no-bug, c=workspaces, compact-mode, tests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user