Hide new LED buttons when msp version < 1.18.0
parent
6c964164e4
commit
3d513aff52
|
@ -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>
|
||||
|
|
|
@ -288,6 +288,10 @@ TABS.led_strip.initialize = function (callback, scrollPosition) {
|
|||
|
||||
});
|
||||
|
||||
if (CONFIG.apiVersion < '1.18.0') {
|
||||
$(".extra_functions").hide();
|
||||
}
|
||||
|
||||
GUI.content_ready(callback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue