mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-10 21:38:21 +00:00
24 lines
977 B
C++
24 lines
977 B
C++
diff --git a/browser/components/customizableui/content/panelUI.js b/browser/components/customizableui/content/panelUI.js
|
|
index ec52437dba30633a374299a46c856e1df05dec0e..48617e32d56c3b3f525557ddeac6297555c48c04 100644
|
|
--- a/browser/components/customizableui/content/panelUI.js
|
|
+++ b/browser/components/customizableui/content/panelUI.js
|
|
@@ -515,8 +515,7 @@ const PanelUI = {
|
|
tempPanel.setAttribute("animate", "false");
|
|
}
|
|
tempPanel.setAttribute("context", "");
|
|
- document
|
|
- .getElementById(CustomizableUI.AREA_NAVBAR)
|
|
+ aAnchor.closest("toolbar")
|
|
.appendChild(tempPanel);
|
|
|
|
let multiView = document.createXULElement("panelmultiview");
|
|
@@ -957,7 +956,7 @@ const PanelUI = {
|
|
el.removeAttribute("data-lazy-l10n-id");
|
|
});
|
|
|
|
- this.notificationPanel.openPopup(anchor, "bottomright topright");
|
|
+ this.notificationPanel.openPopup(anchor, gZenUIManager.panelUIPosition);
|
|
},
|
|
|
|
_clearNotificationPanel() {
|