diff --git a/browser/components/customizableui/CustomizeMode.jsm b/browser/components/customizableui/CustomizeMode.jsm index 179e1fa3e19e..ba190268d440 100644 --- a/browser/components/customizableui/CustomizeMode.jsm +++ b/browser/components/customizableui/CustomizeMode.jsm @@ -1825,7 +1825,7 @@ CustomizeMode.prototype = { return; } - let targetAreaType = CustomizableUI.getAreaType(targetArea.id); + let targetAreaType = CustomizableUI.getPlaceForItem(targetArea); let targetNode = this._getDragOverNode(aEvent, targetArea, targetAreaType, draggedItemId); // We need to determine the place that the widget is being dropped in