From aa4419c2a9588a5b24b972512631721d8bb3b817 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 24 Jan 2024 17:26:44 +0100 Subject: [PATCH] Bug 1863083 --- toolkit/modules/PopupNotifications.jsm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toolkit/modules/PopupNotifications.jsm b/toolkit/modules/PopupNotifications.jsm index 7105c1a4f7..561c630e27 100644 --- a/toolkit/modules/PopupNotifications.jsm +++ b/toolkit/modules/PopupNotifications.jsm @@ -165,6 +165,7 @@ this.PopupNotifications = function PopupNotifications(tabbrowser, panel, iconBox this.buttonDelay = Services.prefs.getIntPref(PREF_SECURITY_DELAY); this.panel.addEventListener("popuphidden", this, true); + this.panel.addEventListener("popuppositioned", this, true); this.window.addEventListener("activate", this, true); if (this.tabbrowser.tabContainer) @@ -475,6 +476,7 @@ PopupNotifications.prototype = { this._onPopupHidden(aEvent); break; case "activate": + case "popuppositioned": case "TabSelect": let self = this; // setTimeout(..., 0) needed, otherwise openPopup from "activate" event