diff --git a/css/style.css b/css/style.css index d713f93d..75a33d2f 100644 --- a/css/style.css +++ b/css/style.css @@ -847,6 +847,9 @@ a:hover { border: 1px dotted silver; } + .tab-motor_outputs .motor_testing { + display: none; + } .tab-motor_outputs .motor_testing .sliders { margin-top: 20px; } diff --git a/tabs/motor_outputs.js b/tabs/motor_outputs.js index 2bfc1587..f1c432cb 100644 --- a/tabs/motor_outputs.js +++ b/tabs/motor_outputs.js @@ -2,6 +2,9 @@ function tab_initialize_motor_outputs() { ga_tracker.sendAppView('Motor Outputs Page'); GUI.active_tab = 'motor_outputs'; + // if CAP_DYNBALANCE is true + if (bit_check(CONFIG.capability, 2)) $('div.motor_testing').show(); + // UI hooks $('div.sliders input').change(function() { var index = $(this).index();