Fix MoveWay mode (fixes #602)

This commit is contained in:
John Firebaugh
2013-02-02 12:55:06 -05:00
parent 3e404df339
commit 09dac581be

View File

@@ -47,7 +47,7 @@ iD.modes.MoveWay = function(context, wayId) {
context.enter(iD.modes.Browse(context));
}
context.selection()
context.surface()
.on('mousemove.move-way', move)
.on('click.move-way', finish);
@@ -63,7 +63,7 @@ iD.modes.MoveWay = function(context, wayId) {
};
mode.exit = function() {
context.selection()
context.surface()
.on('mousemove.move-way', null)
.on('click.move-way', null);