Removed extra ")"
This commit is contained in:
parent
f35bd39e60
commit
42805fd326
|
@ -52,7 +52,7 @@ exports.filter = function (arr, filter) {
|
||||||
if (typeof loc.lat !== 'number') return;
|
if (typeof loc.lat !== 'number') return;
|
||||||
if (typeof loc.lng !== 'number') return;
|
if (typeof loc.lng !== 'number') return;
|
||||||
|
|
||||||
var d = GeoPoint.distanceBetween(origin, loc, {type: unit}));
|
var d = GeoPoint.distanceBetween(origin, loc, {type: unit});
|
||||||
|
|
||||||
if (max && d > max) {
|
if (max && d > max) {
|
||||||
// dont add
|
// dont add
|
||||||
|
|
Loading…
Reference in New Issue