From 75b6ec746b55736082bbd49fafd5feec129e00ef Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Sun, 29 Sep 2013 07:55:59 -0700 Subject: [PATCH] Clean up --- js/id/modes/drag_node.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/id/modes/drag_node.js b/js/id/modes/drag_node.js index ea3a6ef4b..3eb423753 100644 --- a/js/id/modes/drag_node.js +++ b/js/id/modes/drag_node.js @@ -39,8 +39,8 @@ iD.modes.DragNode = function(context) { return t('operations.move.annotation.' + entity.geometry(context.graph())); } - function connectAnnotation(datum) { - return t('operations.connect.annotation.' + datum.geometry(context.graph())); + function connectAnnotation(entity) { + return t('operations.connect.annotation.' + entity.geometry(context.graph())); } function origin(entity) { @@ -109,7 +109,7 @@ iD.modes.DragNode = function(context) { context.replace( iD.actions.MoveNode(entity.id, loc), - t('operations.move.annotation.' + entity.geometry(context.graph()))); + moveAnnotation(entity)); } function end(entity) {