mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-21 15:25:22 +03:00
Merge pull request #1894 from Asizon/hideAccelFeatures
Hide Accel Features when it is disabled
This commit is contained in:
commit
140509eea3
2 changed files with 3 additions and 7 deletions
|
@ -1107,11 +1107,7 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
$('input[id="accHardwareSwitch"]').change(function() {
|
||||
if(semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||
var checked = $(this).is(':checked');
|
||||
if (checked) {
|
||||
$('._smallAngle').show()
|
||||
} else {
|
||||
$('._smallAngle').hide()
|
||||
}
|
||||
$('.accelNeeded').toggle(checked);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue