From a25eb34026f8c63bc9fb62fb026f176dd58e65a9 Mon Sep 17 00:00:00 2001 From: Michael Urspringer Date: Fri, 21 Oct 2022 12:37:03 +0200 Subject: [PATCH] Corrected wrong condition --- application/views/interface_assets/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);