Hide new LED buttons when msp version < 1.18.0

10.3.x-maintenance
gael 2016-05-08 23:34:48 +02:00
parent 6c964164e4
commit 3d513aff52
2 changed files with 7 additions and 3 deletions

View File

@ -45,9 +45,9 @@
<button class="function-t w50">Throttle</button>
<button class="function-r w50">Ring</button>
<button class="function-c w50">Color</button>
<button class="function-g w50">GPS</button>
<button class="function-s w50">RSSI</button>
<button class="function-b w50">Blink</button>
<button class="function-g w50 extra_functions">GPS</button>
<button class="function-s w50 extra_functions">RSSI</button>
<button class="function-b w50 extra_functions">Blink</button>
</div>
<div class="section">LED Orientation and Color</div>

View File

@ -288,6 +288,10 @@ TABS.led_strip.initialize = function (callback, scrollPosition) {
});
if (CONFIG.apiVersion < '1.18.0') {
$(".extra_functions").hide();
}
GUI.content_ready(callback);
}