Index: lib/customizableUI.js |
=================================================================== |
--- a/lib/customizableUI.js |
+++ b/lib/customizableUI.js |
@@ -182,7 +182,7 @@ |
let node = toolbox.ownerDocument.getElementById(widget.id); |
let position = toolbox.getAttribute(widget.positionAttribute) || "hidden,,"; |
- if (node) |
+ if (node && node.parentNode.localName != "toolbarpalette") |
{ |
if (typeof widget.onAdded == "function") |
widget.onAdded(node) |