Fix gps_rescue_min_start_dist (#3076)
parent
bb8687bcbe
commit
907d5b00da
|
@ -317,6 +317,10 @@ failsafe.initialize = function (callback) {
|
||||||
$('input[name="gps_rescue_min_dth"]').closest('.number').hide();
|
$('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 {
|
} else {
|
||||||
// GPS Rescue Parameters not available
|
// GPS Rescue Parameters not available
|
||||||
$('.pro4 > .proceduresettings').hide();
|
$('.pro4 > .proceduresettings').hide();
|
||||||
|
|
Loading…
Reference in New Issue