diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index c046bd6d..0cdc3eee 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -1442,15 +1442,17 @@ $(document).on('keypress',function(e) { if(data.power != null && data.power != 0) { text = text+''+data.power+' W'; } + ptext = ''; if(data.prop_mode != null && data.prop_mode != '') { - text = text+'('+data.prop_mode; + ptext = ptext + data.prop_mode; if (data.prop_mode == 'SAT') { - text = text+' '+data.satname; + ptext = ptext + ' ' + data.satname; } } if(data.frequency_rx != null && data.frequency_rx != 0) { - text = text+'RX: '+(Math.round(parseInt(data.frequency_rx)/1000)/1000).toFixed(3)+' MHz)'; + ptext = ptext + 'RX: ' + (Math.round(parseInt(data.frequency_rx)/1000)/1000).toFixed(3) + ' MHz'; } + if( ptext != '') { text = text + '(' + ptext + ')';} if (! $('#radio_cat_state').length) { $('#radio_status').prepend(''); } else {