Files
desktop/src/browser/components/customizableui/content/panelUI-js.patch
mr. M a1debe45cf Update configuration and UI behavior for Zen Browser
- Remove unnecessary comments from mozconfig
- Disable sign-on remembering in preferences
- Ensure popups are rolled up when updating vertical tabs
- Adjust popup hidden event listener to use capture option
- Bump version numbers in surfer.json for releases
2024-12-24 12:29:56 +01:00

15 lines
642 B
C++

diff --git a/browser/components/customizableui/content/panelUI.js b/browser/components/customizableui/content/panelUI.js
index 1805bad6c58e060533f634ed9e511c05cad3ded1..07aca3c94b725af8761f0fa7881926da71502d76 100644
--- a/browser/components/customizableui/content/panelUI.js
+++ b/browser/components/customizableui/content/panelUI.js
@@ -544,8 +544,8 @@ const PanelUI = {
}
if (viewShown) {
- CustomizableUI.addPanelCloseListeners(tempPanel);
tempPanel.addEventListener("popuphidden", panelRemover);
+ CustomizableUI.addPanelCloseListeners(tempPanel);
} else {
panelRemover();
}