diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 305c2569..5c391ec5 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -469,7 +469,7 @@ $(document).ready(function(){ } else if ($(this).val() == 'FSK441' || $(this).val() == 'JT6M') { $('#rst_sent').val('26'); $('#rst_recv').val('26'); - } else if ($(this).val() == 'CW' || $(this).val() == 'RTTY' || $(this).val() == 'PSK31' !! $(this).val() == 'PSK63') { + } else if ($(this).val() == 'CW' || $(this).val() == 'RTTY' || $(this).val() == 'PSK31' || $(this).val() == 'PSK63') { $('#rst_sent').val('599'); $('#rst_recv').val('599'); } else { @@ -538,9 +538,10 @@ $(document).ready(function(){ // If radio isn't SatPC32 clear sat_name and sat_mode $( ".radios" ).change(function() { - if ($("#yourdropdownid option:selected").text() != "SatPC32") { - $(".sat_name").val(""); - $(".sat_mode").val(""); + if ($(".radios option:selected").text() != "SatPC32") { + console.log("not satPC32"); + $("#sat_name").val(""); + $("#sat_mode").val(""); } });