diff --git a/js/id/modes/draw_road.js b/js/id/modes/draw_road.js index 46ac3e818..769c4412c 100644 --- a/js/id/modes/draw_road.js +++ b/js/id/modes/draw_road.js @@ -14,7 +14,6 @@ iD.modes.DrawRoad = function(wayId, direction) { tailId = (direction === 'forward') ? _.first(way.nodes) : _.last(way.nodes); map.dblclickEnable(false) - .dragEnable(false) .fastEnable(false) .hint('Click to add more points to the road. ' + 'Click on other roads to connect to them, and double-click to ' + @@ -90,7 +89,6 @@ iD.modes.DrawRoad = function(wayId, direction) { .on('⌫.drawroad', null); window.setTimeout(function() { mode.map.dblclickEnable(true); - mode.map.dragEnable(true); }, 1000); }; diff --git a/js/id/modes/select.js b/js/id/modes/select.js index 07dc36723..d34d144bc 100644 --- a/js/id/modes/select.js +++ b/js/id/modes/select.js @@ -12,8 +12,6 @@ iD.modes.Select = function (entity) { return { x: p[0], y: p[1] }; }) .on('drag', function(entity) { - if (!mode.map.dragEnable()) return; - d3.event.sourceEvent.stopPropagation(); if (!dragging) { @@ -31,7 +29,7 @@ iD.modes.Select = function (entity) { }); }) .on('dragend', function () { - if (!mode.map.dragEnable() || !dragging) return; + if (!dragging) return; dragging = undefined; mode.map.redraw(); });