Fix imperial units test in maxspeed

(closes #3156)
This commit is contained in:
Bryan Housel
2016-06-11 01:40:20 -04:00
parent c08774c2da
commit 63fc7c4770

View File

@@ -31,7 +31,7 @@ iD.ui.preset.maxspeed = function(field, context) {
imperial = _.some(iD.data.imperial.features, function(f) {
return _.some(f.geometry.coordinates, function(d) {
return iD.geo.pointInPolygon(loc, d[0]);
return iD.geo.pointInPolygon(loc, d);
});
});