mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Fix hide accel features
This commit is contained in:
parent
f4f6da02c6
commit
540173ce05
2 changed files with 2 additions and 4 deletions
|
@ -908,9 +908,7 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
$('._smallAngle').hide();
|
||||
if(semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||
$('input[id="configurationSmallAngle"]').val(ARMING_CONFIG.small_angle);
|
||||
if (SENSOR_CONFIG.acc_hardware !== 1) {
|
||||
$('._smallAngle').show();
|
||||
}
|
||||
$('.accelNeeded').toggle(SENSOR_CONFIG.acc_hardware !== 1);
|
||||
}
|
||||
|
||||
// fill throttle
|
||||
|
|
|
@ -359,7 +359,7 @@
|
|||
<div class="helpicon cf_tip" i18n_title="configurationArmingHelp"></div>
|
||||
</div>
|
||||
<div class="spacer_box">
|
||||
<div class="_smallAngle">
|
||||
<div class="_smallAngle accelNeeded">
|
||||
<div class="number">
|
||||
<label>
|
||||
<input type="number" id="configurationSmallAngle" step="1" min="1" max="180" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue