diff --git a/browser/components/customizableui/src/CustomizableUI.jsm b/browser/components/customizableui/src/CustomizableUI.jsm index 18f5a302c0c..6e232cf7a5b 100644 --- a/browser/components/customizableui/src/CustomizableUI.jsm +++ b/browser/components/customizableui/src/CustomizableUI.jsm @@ -3139,7 +3139,7 @@ function WidgetSingleWrapper(aWidget, aNode) { this.__defineGetter__("anchor", function() { let anchorId; // First check for an anchor for the area: - let placement = CustomizableUIInternal.getPlacementOfWidget(aWidgetId); + let placement = CustomizableUIInternal.getPlacementOfWidget(aWidget.id); if (placement) { anchorId = gAreas.get(placement.area).get("anchor"); }