mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-28 00:13:40 +00:00
Add road and connection typos
This commit is contained in:
@@ -19,10 +19,10 @@ iD.Connection = function() {
|
||||
|
||||
function loadFromURL(url, callback) {
|
||||
inflight[url] = d3.xml(url).get()
|
||||
.on('load', function(err, dom) {
|
||||
.on('load', function(dom) {
|
||||
delete inflight[url];
|
||||
apiTilesLoaded[url] = true;
|
||||
return callback(err, parse(dom));
|
||||
return callback(null, parse(dom));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ iD.modes.AddRoad = function() {
|
||||
} else if (datum.type === 'way') {
|
||||
// begin a new way starting from an existing way
|
||||
var choice = iD.util.geo.chooseIndex(datum, d3.mouse(map.surface.node()), map);
|
||||
node = iD.Node({ loc: choice.loc }),
|
||||
node = iD.Node({ loc: choice.loc });
|
||||
|
||||
history.perform(
|
||||
iD.actions.AddWay(way),
|
||||
|
||||
Reference in New Issue
Block a user