mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
Fix global leak
This commit is contained in:
@@ -38,7 +38,7 @@ iD.modes.AddRoad = function() {
|
||||
|
||||
} else if (datum.type === 'way') {
|
||||
// begin a new way starting from an existing way
|
||||
choice = iD.util.geo.chooseIndex(datum, d3.mouse(map.surface.node()), map);
|
||||
var choice = iD.util.geo.chooseIndex(datum, d3.mouse(map.surface.node()), map);
|
||||
node = iD.Node({ loc: choice.loc }),
|
||||
|
||||
history.perform(
|
||||
|
||||
Reference in New Issue
Block a user