Skip to content

Commit 4c27380

Browse files
fix bug when telemetry datum value is 0
1 parent 148af23 commit 4c27380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1553,7 +1553,7 @@ function graphAddPosition(vcallsign, new_data) {
15531553
for(var k in vehicle.graph_data_map) data_matrix[vehicle.graph_data_map[k]] = [ts, null];
15541554

15551555
$.each(json, function(k, v) {
1556-
if(isNaN(v) || v=="") return; // only take data that is numerical
1556+
if(isNaN(v) || v==="") return; // only take data that is numerical
15571557

15581558
i = (k in vehicle.graph_data_map) ? vehicle.graph_data_map[k] : data.length;
15591559

0 commit comments

Comments
 (0)