utilizing capability bit
parent
1bc89ae22a
commit
7003a339ff
|
@ -847,6 +847,9 @@ a:hover {
|
||||||
|
|
||||||
border: 1px dotted silver;
|
border: 1px dotted silver;
|
||||||
}
|
}
|
||||||
|
.tab-motor_outputs .motor_testing {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.tab-motor_outputs .motor_testing .sliders {
|
.tab-motor_outputs .motor_testing .sliders {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,9 @@ function tab_initialize_motor_outputs() {
|
||||||
ga_tracker.sendAppView('Motor Outputs Page');
|
ga_tracker.sendAppView('Motor Outputs Page');
|
||||||
GUI.active_tab = 'motor_outputs';
|
GUI.active_tab = 'motor_outputs';
|
||||||
|
|
||||||
|
// if CAP_DYNBALANCE is true
|
||||||
|
if (bit_check(CONFIG.capability, 2)) $('div.motor_testing').show();
|
||||||
|
|
||||||
// UI hooks
|
// UI hooks
|
||||||
$('div.sliders input').change(function() {
|
$('div.sliders input').change(function() {
|
||||||
var index = $(this).index();
|
var index = $(this).index();
|
||||||
|
|
Loading…
Reference in New Issue