gh-14390: fix profile picker menu when creating new workspace (gh-14421)

This commit is contained in:
Bernhard
2026-06-30 12:06:49 +02:00
committed by GitHub
parent 87220f71f4
commit 06392af296

View File

@@ -182,8 +182,8 @@ class nsZenWorkspaceCreation extends MozXULElement {
this.onProfileCommand.bind(this)
);
this.profilesPopup.addEventListener(
"popupshown",
this.onProfilePopupShown.bind(this)
"popupshowing",
this.onProfilePopupShowing.bind(this)
);
this.profilesPopup.addEventListener(
"command",
@@ -296,7 +296,7 @@ class nsZenWorkspaceCreation extends MozXULElement {
this.profilesPopup.openPopup(event.target, "after_start");
}
onProfilePopupShown(event) {
onProfilePopupShowing(event) {
return window.createUserContextMenu(event, {
isContextMenu: true,
showDefaultTab: true,