@@ -2471,14 +2471,15 @@ function redrawPrediction(vcallsign) {
24712471 } else {
24722472 if ( offline . get ( 'opt_imperial' ) ) {
24732473 vehicle . prediction_target . pred_type = "<b>Prediction Type:</b> Standard \n" +
2474- "<b>Ascent Rate:</b> " + vehicle . prediction . ascent_rate . toFixed ( 1 ) + " ft/s \n" +
2475- "<b>Burst Altitude:</b> " + vehicle . prediction . burst_altitude . toFixed ( 0 ) + " feet\n" +
2476- "<b>Descent Rate:</b> " + vehicle . prediction . descent_rate . toFixed ( 1 ) + " ft/s \n" ;
2474+ "<b>Ascent Rate:</b> " + ( vehicle . prediction . ascent_rate * 3.2808399 ) . toFixed ( 1 ) + " ft/s \n" +
2475+ "<b>Burst Altitude:</b> " + ( vehicle . prediction . burst_altitude * 3.2808399 ) . toFixed ( 0 ) + " ft\n" +
2476+ "<b>Descent Rate:</b> " + ( vehicle . prediction . descent_rate * 3.2808399 ) . toFixed ( 1 ) + " ft/s \n" ;
2477+
24772478 } else {
24782479 vehicle . prediction_target . pred_type = "<b>Prediction Type:</b> Standard \n" +
2479- "<b>Ascent Rate:</b> " + ( vehicle . prediction . ascent_rate * 3.2808399 ) . toFixed ( 1 ) + " m/s \n" +
2480- "<b>Burst Altitude:</b> " + ( vehicle . prediction . burst_altitude * 3.2808399 ) . toFixed ( 0 ) + " m\n" +
2481- "<b>Descent Rate:</b> " + ( vehicle . prediction . descent_rate * 3.2808399 ) . toFixed ( 1 ) + " m/s \n" ;
2480+ "<b>Ascent Rate:</b> " + vehicle . prediction . ascent_rate . toFixed ( 1 ) + " m/s \n" +
2481+ "<b>Burst Altitude:</b> " + vehicle . prediction . burst_altitude . toFixed ( 0 ) + " m\n" +
2482+ "<b>Descent Rate:</b> " + vehicle . prediction . descent_rate . toFixed ( 1 ) + " m/s \n" ;
24822483 }
24832484 }
24842485 }
@@ -2517,14 +2518,15 @@ function redrawPrediction(vcallsign) {
25172518 } else {
25182519 if ( offline . get ( 'opt_imperial' ) ) {
25192520 vehicle . prediction_burst . pred_type = "<b>Prediction Type:</b> Standard \n" +
2520- "<b>Ascent Rate:</b> " + vehicle . prediction . ascent_rate . toFixed ( 1 ) + " ft/s \n" +
2521- "<b>Burst Altitude:</b> " + vehicle . prediction . burst_altitude . toFixed ( 0 ) + " feet \n" +
2522- "<b>Descent Rate:</b> " + vehicle . prediction . descent_rate . toFixed ( 1 ) + " ft/s \n" ;
2521+ "<b>Ascent Rate:</b> " + ( vehicle . prediction . ascent_rate * 3.2808399 ) . toFixed ( 1 ) + " ft/s \n" +
2522+ "<b>Burst Altitude:</b> " + ( vehicle . prediction . burst_altitude * 3.2808399 ) . toFixed ( 0 ) + " ft \n" +
2523+ "<b>Descent Rate:</b> " + ( vehicle . prediction . descent_rate * 3.2808399 ) . toFixed ( 1 ) + " ft/s \n" ;
25232524 } else {
25242525 vehicle . prediction_burst . pred_type = "<b>Prediction Type:</b> Standard \n" +
2525- "<b>Ascent Rate:</b> " + ( vehicle . prediction . ascent_rate * 3.2808399 ) . toFixed ( 1 ) + " m/s \n" +
2526- "<b>Burst Altitude:</b> " + ( vehicle . prediction . burst_altitude * 3.2808399 ) . toFixed ( 0 ) + " m\n" +
2527- "<b>Descent Rate:</b> " + ( vehicle . prediction . descent_rate * 3.2808399 ) . toFixed ( 1 ) + " m/s \n" ;
2526+ "<b>Ascent Rate:</b> " + vehicle . prediction . ascent_rate . toFixed ( 1 ) + " m/s \n" +
2527+ "<b>Burst Altitude:</b> " + vehicle . prediction . burst_altitude . toFixed ( 0 ) + " m\n" +
2528+ "<b>Descent Rate:</b> " + vehicle . prediction . descent_rate . toFixed ( 1 ) + " m/s \n" ;
2529+
25282530 }
25292531 }
25302532 }
0 commit comments