We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0480ce commit d73ccdbCopy full SHA for d73ccdb
js/tracker.js
@@ -1911,7 +1911,6 @@ function addPosition(position) {
1911
1912
vehicle.curr_position = position;
1913
graphAddPosition(vcallsign, position);
1914
-
1915
}
1916
else if(wvar.mode == "Position") { // we don't splice old postions in latest position mode
1917
return;
@@ -1950,9 +1949,8 @@ function addPosition(position) {
1950
1949
vehicle.updated = true;
1951
1952
// record the start of flight
1953
- var newts = convert_time(vehicle.curr_position.gps_time);
1954
- if(newts < vehicle.start_time) {
1955
- vehicle.start_time = newts;
+ if(new_ts < vehicle.start_time) {
+ vehicle.start_time = new_ts;
1956
1957
1958
// record the highest altitude
0 commit comments