1
0
Fork 0
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:
Asizon 2020-02-29 10:38:10 +01:00
parent d283f17f2f
commit d58282e8a6

View file

@ -905,10 +905,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
$('div.disarm').hide();
}
$('._smallAngle').hide();
$('._smallAngle').toggle(semver.gte(CONFIG.apiVersion, "1.37.0"));
if(semver.gte(CONFIG.apiVersion, "1.37.0")) {
$('input[id="configurationSmallAngle"]').val(ARMING_CONFIG.small_angle);
$('._smallAngle').show();
}
// fill throttle