1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 01:05:15 +03:00

Hide new LED buttons when msp version < 1.18.0

This commit is contained in:
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);
}