Allow for continuing line drawing, also fixes #507

This commit is contained in:
Tom MacWright
2013-01-25 16:28:21 -05:00
parent 5ea855e18d
commit deebe55182
+1 -1
View File
@@ -19,7 +19,7 @@ iD.modes.DrawLine = function(wayId, direction) {
function addTail(node) {
// connect the way in a loop
if (way.nodes.length > 2) {
behavior.addNode(node, 'added to a line', iD.modes.Select(way, true))
behavior.addNode(node, 'added to a line');
} else {
behavior.cancel();
}