diff --git a/browser/modules/UITour.jsm b/browser/modules/UITour.jsm index 6c24c4e123f2..804a0224a966 100644 --- a/browser/modules/UITour.jsm +++ b/browser/modules/UITour.jsm @@ -553,8 +553,8 @@ this.UITour = { if (!aWindowClosing) { this.hideHighlight(aWindow); this.hideInfo(aWindow); - aWindow.PanelUI.panel.removeAttribute("noautohide"); - this.recreatePopup(aWindow.PanelUI.panel); + // Ensure the menu panel is hidden before calling recreatePopup so popup events occur. + this.hideMenu(aWindow, "appMenu"); } this.endUrlbarCapture(aWindow);