Fix rc expo background color

10.5.x-maintenance
Hans Christian Olaussen 2018-11-28 00:15:27 +01:00
parent 2f3a319f67
commit b6201bae77
1 changed files with 6 additions and 5 deletions

View File

@ -966,12 +966,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) {