fix array concat

This commit is contained in:
popov
2017-01-27 10:17:35 +10:00
committed by Bryan Housel
parent a2f9f51ee6
commit 56dbebd0b6

View File

@@ -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 ||