Hiding div.disarm element when, not applicable.

CONFIG.apiVersion dependent
10.3.x-maintenance
tricopterY 2015-03-15 16:08:59 +11:00
parent 69c18377cf
commit 911c09076b
1 changed files with 3 additions and 0 deletions

View File

@ -255,6 +255,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
$('input[name="disarmkillswitch"]').prop('checked', MISC.disarm_kill_switch);
if(bit_check(BF_CONFIG.features, 4 + 1))//MOTOR_STOP
$('div.disarmdelay').slideDown();
if (CONFIG.apiVersion < 1.8)
$('div.disarm').hide();
// fill throttle
$('input[name="minthrottle"]').val(MISC.minthrottle);