diff --git a/modules/modes/drag_node.js b/modules/modes/drag_node.js index 371412b22..06d9637a1 100644 --- a/modules/modes/drag_node.js +++ b/modules/modes/drag_node.js @@ -84,7 +84,7 @@ export function modeDragNode(context) { var editableIDs = [ entity.id ]; context.graph().parentWays(entity).forEach(function (parentWay) { editableIDs.push(parentWay.id); - editableIDs.concat(_.map(context.graph().parentRelations(parentWay), 'id')); + editableIDs = editableIDs.concat(_.map(context.graph().parentRelations(parentWay), 'id')); }); isCancelled = d3.event.sourceEvent.shiftKey ||