mirror of
https://github.com/zen-browser/desktop.git
synced 2025-11-04 17:54:31 +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 689205034d9df67ff1fe0ebbf4a3481a5f414391..2626b7286deb51f66b6ccbbc32d510139cacb109 100644
|
|
--- a/browser/components/customizableui/content/panelUI.js
|
|
+++ b/browser/components/customizableui/content/panelUI.js
|
|
@@ -516,8 +516,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");
|
|
@@ -959,7 +958,7 @@ const PanelUI = {
|
|
el.removeAttribute("data-lazy-l10n-id");
|
|
});
|
|
|
|
- this.notificationPanel.openPopup(anchor, "bottomright topright");
|
|
+ this.notificationPanel.openPopup(anchor, gZenUIManager.panelUIPosition);
|
|
},
|
|
|
|
_clearNotificationPanel() {
|