From f95bb3c0f0551ccf76f7e169df33712b8d2ad52a Mon Sep 17 00:00:00 2001 From: DoinLakeFlyer Date: Mon, 2 Mar 2020 11:52:04 -0800 Subject: [PATCH] Fix typo --- src/FlightMap/Widgets/MapFitFunctions.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FlightMap/Widgets/MapFitFunctions.qml b/src/FlightMap/Widgets/MapFitFunctions.qml index b8197994f..64e360565 100644 --- a/src/FlightMap/Widgets/MapFitFunctions.qml +++ b/src/FlightMap/Widgets/MapFitFunctions.qml @@ -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 } -- 2.22.0