kopia lustrzana https://github.com/projecthorus/chasemapper
Minor fixes to text formats
rodzic
31d325d04a
commit
eac6549256
|
@ -178,7 +178,7 @@ function updateSummaryDisplayImperial1(){
|
|||
_summary_update.elevation = _look_angles.elevation.toFixed(0) + "°";
|
||||
_summary_update.azimuth = _look_angles.azimuth.toFixed(0) + "°";
|
||||
if (_look_angles.range > chase_config['switch_miles_feet']) {
|
||||
_summary_update.range = (_look_angles.range*chase_config['km_to_miles']/1000).toFixed(1) + "miles";
|
||||
_summary_update.range = (_look_angles.range*chase_config['km_to_miles']/1000).toFixed(1) + " miles";
|
||||
} else {
|
||||
_summary_update.range = (_look_angles.range*chase_config['m_to_ft']).toFixed(1) + "ft";
|
||||
}
|
||||
|
|
|
@ -245,7 +245,7 @@ function initTablesImperial1(){
|
|||
{title:"Elevation", field:"elevation", headerSort:false},
|
||||
{title:"Range", field:"range", headerSort:false},
|
||||
],
|
||||
data:[{id: 1, alt:'-----ft', speed:'---mph', vel_v:'---ft/min', azimuth:'---°', elevation:'--°', range:'----miles'}],
|
||||
data:[{id: 1, alt:'-----ft', speed:'---mph', vel_v:'---ft/min', azimuth:'---°', elevation:'--°', range:'---- miles'}],
|
||||
rowClick:function(e, row){
|
||||
toggleSummarySize();
|
||||
},
|
||||
|
|
Ładowanie…
Reference in New Issue