From 56dbebd0b65375fafdadf6afa14ed999d30a05e2 Mon Sep 17 00:00:00 2001 From: popov Date: Fri, 27 Jan 2017 10:17:35 +1000 Subject: [PATCH] fix array concat --- modules/modes/drag_node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ||