mirror of
https://github.com/zen-browser/desktop.git
synced 2026-07-17 06:01:06 +00:00
gh-14390: fix profile picker menu when creating new workspace (gh-14421)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user