From b6201bae77c8efbd1c20eaf694b5fd46b95bfdff Mon Sep 17 00:00:00 2001 From: Hans Christian Olaussen <41271048+klutvott123@users.noreply.github.com> Date: Wed, 28 Nov 2018 00:15:27 +0100 Subject: [PATCH] Fix rc expo background color --- src/js/tabs/pid_tuning.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/js/tabs/pid_tuning.js b/src/js/tabs/pid_tuning.js index bd734399..33ed9d2c 100644 --- a/src/js/tabs/pid_tuning.js +++ b/src/js/tabs/pid_tuning.js @@ -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) {