Index: lib/customizableUI.js |
=================================================================== |
--- a/lib/customizableUI.js |
+++ b/lib/customizableUI.js |
@@ -182,7 +182,9 @@ |
let node = toolbox.ownerDocument.getElementById(widget.id); |
let position = toolbox.getAttribute(widget.positionAttribute) || "hidden,,"; |
- if (node) |
+ |
+ // In SeaMonkey BrowserToolbarPalette is located in toolbox |
+ if (node && node.parentNode.id != "BrowserToolbarPalette") |
Wladimir Palant
2014/05/08 13:40:21
Please check |node.parentNode.localName == "toolba
saroyanm
2014/05/08 15:13:13
Good point.
|
{ |
if (typeof widget.onAdded == "function") |
widget.onAdded(node) |