commit 29a2d51c2e09d9f8e6ee24f217c6a70c6d5589ae parent 911bc12eaee09c27990853c30a75e6079988ff53 Author: Dale Harvey <dale@arandomurl.com> Date: Wed, 8 Oct 2025 12:20:37 +0000 Bug 1981591 - Use correct anchor for trustpanel popup. r=Standard8 Differential Revision: https://phabricator.services.mozilla.com/D267840 Diffstat:
| M | browser/base/content/browser-trustPanel.js | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/browser/base/content/browser-trustPanel.js b/browser/base/content/browser-trustPanel.js @@ -195,12 +195,13 @@ class TrustPanel { } } - showPopup({ event }) { + showPopup() { this.#initializePopup(); this.#updatePopup(); + let anchor = document.getElementById("trust-icon-container"); let opts = { position: "bottomleft topleft" }; - PanelMultiView.openPopup(this.#popup, event.target, opts); + PanelMultiView.openPopup(this.#popup, anchor, opts); } async #hidePopup() {