From 24a609256929c1eb5fadbf1ea84de2923c1aaaec Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Sat, 23 Feb 2013 17:24:01 -0500 Subject: [PATCH] Fix moveway --- js/id/modes/move_way.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/id/modes/move_way.js b/js/id/modes/move_way.js index cdd9fa792..84f9e819f 100644 --- a/js/id/modes/move_way.js +++ b/js/id/modes/move_way.js @@ -7,13 +7,10 @@ iD.modes.MoveWay = function(context, wayId) { var keybinding = d3.keybinding('move-way'); mode.enter = function() { - var origin = context.map().mouseCoordinates(), + var origin, nudgeInterval, annotation = t('operations.move.annotation.' + context.geometry(wayId)); - // If intiated via keyboard - if (!origin[0] && !origin[1]) origin = null; - context.perform( iD.actions.Noop(), annotation);