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

@ -256,6 +256,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
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);
$('input[name="midthrottle"]').val(MISC.midrc); $('input[name="midthrottle"]').val(MISC.midrc);