mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Changed to .toggle
This commit is contained in:
parent
d283f17f2f
commit
d58282e8a6
1 changed files with 1 additions and 2 deletions
|
@ -905,10 +905,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
||||||
$('div.disarm').hide();
|
$('div.disarm').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('._smallAngle').hide();
|
$('._smallAngle').toggle(semver.gte(CONFIG.apiVersion, "1.37.0"));
|
||||||
if(semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
if(semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||||
$('input[id="configurationSmallAngle"]').val(ARMING_CONFIG.small_angle);
|
$('input[id="configurationSmallAngle"]').val(ARMING_CONFIG.small_angle);
|
||||||
$('._smallAngle').show();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// fill throttle
|
// fill throttle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue