Commit f95bb3c0 authored by DoinLakeFlyer's avatar DoinLakeFlyer

Fix typo

parent 95389228
......@@ -64,7 +64,7 @@ Item {
for (var i = 1; i < coordList.length; i++) {
var lat = coordList[i].latitude
var lon = coordList[i].longitude
if (isNaN(lat) || lat == 0 || isNan(lon) || lon == 0) {
if (isNaN(lat) || lat == 0 || isNaN(lon) || lon == 0) {
// Be careful of invalid coords which can happen when items are not yet complete
continue
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment