From c9d8623e4a15cde00460beae74c50a249248e360 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Mon, 5 May 2025 11:06:16 +0200 Subject: [PATCH] fix: Fixed popup for context menu not updating when updating, b=(closes #8056), c=workspaces --- src/zen/workspaces/ZenWorkspaces.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index bbcfd4cf5..35a6b97df 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -920,7 +920,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature { this.onContextMenuClose(event); } }); - contextMenu.addEventListener('onpopupshowing', this.updateContextMenu.bind(this)); + contextMenu.addEventListener('popupshowing', this.updateContextMenu.bind(this)); contextMenu.addEventListener('command', this.handleContextMenuCommand.bind(this)); const submenu = document.querySelector('#context_zenWorkspacesOpenInContainerTab > menupopup');