mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-01 04:47:31 +09:00
Bug 1863083
This commit is contained in:
parent
266b96a53a
commit
aa4419c2a9
1 changed files with 2 additions and 0 deletions
|
|
@ -165,6 +165,7 @@ this.PopupNotifications = function PopupNotifications(tabbrowser, panel, iconBox
|
||||||
this.buttonDelay = Services.prefs.getIntPref(PREF_SECURITY_DELAY);
|
this.buttonDelay = Services.prefs.getIntPref(PREF_SECURITY_DELAY);
|
||||||
|
|
||||||
this.panel.addEventListener("popuphidden", this, true);
|
this.panel.addEventListener("popuphidden", this, true);
|
||||||
|
this.panel.addEventListener("popuppositioned", this, true);
|
||||||
|
|
||||||
this.window.addEventListener("activate", this, true);
|
this.window.addEventListener("activate", this, true);
|
||||||
if (this.tabbrowser.tabContainer)
|
if (this.tabbrowser.tabContainer)
|
||||||
|
|
@ -475,6 +476,7 @@ PopupNotifications.prototype = {
|
||||||
this._onPopupHidden(aEvent);
|
this._onPopupHidden(aEvent);
|
||||||
break;
|
break;
|
||||||
case "activate":
|
case "activate":
|
||||||
|
case "popuppositioned":
|
||||||
case "TabSelect":
|
case "TabSelect":
|
||||||
let self = this;
|
let self = this;
|
||||||
// setTimeout(..., 0) needed, otherwise openPopup from "activate" event
|
// setTimeout(..., 0) needed, otherwise openPopup from "activate" event
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue