diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 12d1b04d..63e8cb11 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -1206,7 +1206,7 @@ $(document).on('keypress',function(e) { } $("#sat_name").val(data.satname); $("#sat_mode").val(data.satmode); - if(data.power == null or data.power != 0) { + if(data.power != null && data.power != 0) { $("#transmit_power").val(data.power); } $("#selectPropagation").val(data.prop_mode);