From 907d5b00dab9ae412b059c24aee341b1c05fc9bd Mon Sep 17 00:00:00 2001 From: haslinghuis Date: Sun, 13 Nov 2022 02:00:54 +0100 Subject: [PATCH] Fix gps_rescue_min_start_dist (#3076) --- src/js/tabs/failsafe.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/tabs/failsafe.js b/src/js/tabs/failsafe.js index f075a3ab..3952f003 100644 --- a/src/js/tabs/failsafe.js +++ b/src/js/tabs/failsafe.js @@ -317,6 +317,10 @@ failsafe.initialize = function (callback) { $('input[name="gps_rescue_min_dth"]').closest('.number').hide(); } + if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) { + $('input[name="gps_rescue_min_dth"]').attr("min", 20); + } + } else { // GPS Rescue Parameters not available $('.pro4 > .proceduresettings').hide();