File tree 1 file changed +3
-3
lines changed
application/views/interface_assets
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1255,7 +1255,7 @@ function setRst(mode) {
1255
1255
}
1256
1256
} else {
1257
1257
$(".radio_timeout_error" ).remove();
1258
- text = '<i class="fas fa-broadcast-tower"></i><span style="margin-left:10px;"></span><b>TX:</b> '+parseInt(data.frequency)/1000/1000+' MHz';
1258
+ text = '<i class="fas fa-broadcast-tower"></i><span style="margin-left:10px;"></span><b>TX:</b> '+(Math.round( parseInt(data.frequency)/1000) /1000).toFixed(3) +' MHz';
1259
1259
if(data.power != null && data.power != 0) {
1260
1260
text = text+'<span style="margin-left:10px"></span>'+data.power+'W';
1261
1261
}
@@ -1266,10 +1266,10 @@ function setRst(mode) {
1266
1266
}
1267
1267
}
1268
1268
if(data.frequency_rx != null && data.frequency_rx != 0) {
1269
- text = text+'<span style="margin-left:10px"></span><b>RX:</b> '+parseInt(data.frequency_rx)/1000/1000+' MHz)';
1269
+ text = text+'<span style="margin-left:10px"></span><b>RX:</b> '+(Math.round( parseInt(data.frequency_rx)/1000) /1000).toFixed(3) +' MHz)';
1270
1270
}
1271
1271
if (! $('#radio_cat_state').length) {
1272
- $('.qso_panel').prepend('<div id="radio_cat_state" class="alert alert-success radio_cat_state" role="alert">'+text+'</div>');
1272
+ $('.qso_panel').prepend('<div aria-hidden="true"><div id="radio_cat_state" class="alert alert-success radio_cat_state" role="alert">'+text+'</div> </div>');
1273
1273
} else {
1274
1274
$('#radio_cat_state').html(text);
1275
1275
}
You can’t perform that action at this time.
0 commit comments