1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-21 15:25:22 +03:00

Merge pull request #1240 from klutvott123/Fix-rc-expo-background-color

Fix rc expo background color
This commit is contained in:
Michael Keller 2018-12-02 23:25:09 +13:00 committed by GitHub
commit ba6770702e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -985,12 +985,13 @@ TABS.pid_tuning.initialize = function (callback) {
if (semver.gte(CONFIG.apiVersion, "1.37.0")) {
$('.pid_tuning .bracket').hide();
$('.pid_tuning input[name=rc_rate]').parent().css('background-color', '')
$('.pid_tuning input[name=rc_rate]').parent().attr('rowspan', 1)
$('.pid_tuning input[name=rc_expo]').parent().attr('rowspan', 1)
$('.pid_tuning input[name=rc_rate]').parent().css('background-color', '');
$('.pid_tuning input[name=rc_rate]').parent().attr('rowspan', 1);
$('.pid_tuning input[name=rc_expo]').parent().css('background-color', '');
$('.pid_tuning input[name=rc_expo]').parent().attr('rowspan', 1);
} else {
$('.pid_tuning input[name=rc_rate_pitch]').parent().hide()
$('.pid_tuning input[name=rc_pitch_expo]').parent().hide()
$('.pid_tuning input[name=rc_rate_pitch]').parent().hide();
$('.pid_tuning input[name=rc_pitch_expo]').parent().hide();
}
if (useLegacyCurve) {