Fix gps_rescue_min_start_dist (#3076)

10.9-maintenance
haslinghuis 2022-11-13 02:00:54 +01:00 committed by GitHub
parent bb8687bcbe
commit 907d5b00da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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();