Hiding div.disarm element when, not applicable.
CONFIG.apiVersion dependent10.3.x-maintenance
parent
69c18377cf
commit
911c09076b
|
@ -255,6 +255,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
||||||
$('input[name="disarmkillswitch"]').prop('checked', MISC.disarm_kill_switch);
|
$('input[name="disarmkillswitch"]').prop('checked', MISC.disarm_kill_switch);
|
||||||
if(bit_check(BF_CONFIG.features, 4 + 1))//MOTOR_STOP
|
if(bit_check(BF_CONFIG.features, 4 + 1))//MOTOR_STOP
|
||||||
$('div.disarmdelay').slideDown();
|
$('div.disarmdelay').slideDown();
|
||||||
|
|
||||||
|
if (CONFIG.apiVersion < 1.8)
|
||||||
|
$('div.disarm').hide();
|
||||||
|
|
||||||
// fill throttle
|
// fill throttle
|
||||||
$('input[name="minthrottle"]').val(MISC.minthrottle);
|
$('input[name="minthrottle"]').val(MISC.minthrottle);
|
||||||
|
|
Loading…
Reference in New Issue