Skip to content

Commit 9cc8419

Browse files
hide regular prediction for vehicles with hysplit
1 parent 0e2912f commit 9cc8419

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

js/tracker.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,10 @@ function updatePredictions(r) {
19541954
var i = 0, ii = r.length;
19551955
for(; i < ii; i++) {
19561956
if(r[i].vehicle == "XX") continue;
1957+
if(r[i].vehicle in hysplit && r[i].vehicle in vehicles) {
1958+
removePrediction(vcallsign);
1959+
continue;
1960+
}
19571961

19581962
var vcallsign = r[i].vehicle;
19591963

0 commit comments

Comments
 (0)