diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:11:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-08 15:11:26 +0000 |
commit | fcea19dfd2c426bac0456da850e7c12258e4b9eb (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /toolkit/actors/SelectParent.sys.mjs | |
parent | Adding upstream version 115.7.0esr. (diff) | |
download | firefox-esr-fcea19dfd2c426bac0456da850e7c12258e4b9eb.tar.xz firefox-esr-fcea19dfd2c426bac0456da850e7c12258e4b9eb.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/actors/SelectParent.sys.mjs')
-rw-r--r-- | toolkit/actors/SelectParent.sys.mjs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toolkit/actors/SelectParent.sys.mjs b/toolkit/actors/SelectParent.sys.mjs index 6c41903994..7513940cab 100644 --- a/toolkit/actors/SelectParent.sys.mjs +++ b/toolkit/actors/SelectParent.sys.mjs @@ -385,6 +385,7 @@ export var SelectParentHelper = { break; case "fullscreen": + case "FullscreenWarningOnScreen": if (this._currentMenulist) { this._currentMenulist.menupopup.hidePopup(); } @@ -444,6 +445,7 @@ export var SelectParentHelper = { popup.ownerGlobal.addEventListener("mouseup", this, true); popup.ownerGlobal.addEventListener("keydown", this, true); popup.ownerGlobal.addEventListener("fullscreen", this, true); + popup.ownerGlobal.addEventListener("FullscreenWarningOnScreen", this, true); }, _unregisterListeners(popup) { @@ -454,6 +456,11 @@ export var SelectParentHelper = { popup.ownerGlobal.removeEventListener("mouseup", this, true); popup.ownerGlobal.removeEventListener("keydown", this, true); popup.ownerGlobal.removeEventListener("fullscreen", this, true); + popup.ownerGlobal.removeEventListener( + "FullscreenWarningOnScreen", + this, + true + ); }, /** |