utilizing capability bit

pull/3/head
cTn 11 years ago
parent 1bc89ae22a
commit 7003a339ff

@ -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;
}

@ -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();

Loading…
Cancel
Save