File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1374,23 +1374,11 @@ function update(response) {
13741374 updateVehicleInfo ( idx , vehicles [ idx ] . curr_position ) ;
13751375
13761376 if ( listScroll ) listScroll . refresh ( ) ;
1377-
1378- // update the altitude profile, only if its a balloon
1379- if ( vehicles [ idx ] . vehicle_type != "car" ) {
1380- var c = $ ( '.vehicle' + idx + ' .graph' ) ;
1381- drawAltitudeProfile ( c . get ( 0 ) , c . get ( 1 ) , vehicles [ idx ] . alt_list , vehicles [ idx ] . alt_max ) ;
1382- }
13831377 } , 400 * i ) ;
13841378 } else {
13851379 updatePolyline ( i ) ;
13861380 updateVehicleInfo ( i , vehicles [ i ] . curr_position ) ;
13871381
1388- // update the altitude profile, only if its a balloon
1389- if ( vehicles [ i ] . vehicle_type != "car" ) {
1390- var c = $ ( '.vehicle' + idx + ' .graph' ) ;
1391- drawAltitudeProfile ( c . get ( 0 ) , c . get ( 1 ) , vehicles [ idx ] . alt_list , vehicles [ idx ] . alt_max ) ;
1392- }
1393-
13941382 // remember last position for each vehicle
13951383 lastPPointer . push ( vehicles [ i ] . curr_position ) ;
13961384 }
You can’t perform that action at this time.
0 commit comments