diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 4a534990..ffb92314 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -1255,7 +1255,7 @@ $(document).on('keypress',function(e) { } } else { $(".radio_timeout_error" ).remove(); - text = 'TX: '+parseInt(data.frequency)/1000/1000+' MHz'; + text = 'TX: '+(Math.round(parseInt(data.frequency)/1000)/1000).toFixed(3)+' MHz'; if(data.power != null && data.power != 0) { text = text+''+data.power+'W'; } @@ -1266,10 +1266,10 @@ $(document).on('keypress',function(e) { } } if(data.frequency_rx != null && data.frequency_rx != 0) { - text = text+'RX: '+parseInt(data.frequency_rx)/1000/1000+' MHz)'; + text = text+'RX: '+(Math.round(parseInt(data.frequency_rx)/1000)/1000).toFixed(3)+' MHz)'; } if (! $('#radio_cat_state').length) { - $('.qso_panel').prepend(''); + $('.qso_panel').prepend(''); } else { $('#radio_cat_state').html(text); }