Ensure dragging a way is undoable

This commit is contained in:
John Firebaugh
2012-12-19 13:38:22 -08:00
parent 57cf18e2d6
commit 7f4acb46fc
+4 -1
View File
@@ -26,7 +26,10 @@ iD.modes.Select = function (entity) {
.on('dragend', function () {
if (!dragging) return;
dragging = undefined;
mode.map.redraw();
mode.history.replace(
iD.actions.Noop(),
'moved a way');
});
function remove() {