mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Fix tests
This commit is contained in:
@@ -380,7 +380,7 @@ export function osmIntersection(graph, startVertexId, maxDistance) {
|
||||
if (currPath.indexOf(way.id) !== -1 && currPath.length >= 3) continue;
|
||||
|
||||
// Check all "current" restrictions (where we've already walked the `FROM`)
|
||||
var restrict;
|
||||
var restrict = null;
|
||||
for (j = 0; j < currRestrictions.length; j++) {
|
||||
var restriction = currRestrictions[j];
|
||||
var f = restriction.memberByRole('from');
|
||||
|
||||
Reference in New Issue
Block a user