1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 16:55:24 +03:00

Basic rework of: Adjustments and PID tabs, little fixes and changes here and there

This commit is contained in:
skaman82 2015-11-04 22:22:23 +01:00
parent 4864abe6fe
commit 8e79a250ed
43 changed files with 2653 additions and 843 deletions

View file

@ -86,7 +86,12 @@ TABS.dataflash.initialize = function (callback) {
// translate to user-selected language
localize();
if (TABS.dataflash.available) {
// locating link to used CF version
var documentationButton = $('div#content #button-documentation');
documentationButton.html("Documentation for "+CONFIG.flightControllerVersion);
documentationButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion));
if (TABS.dataflash.available) {
var supportsDataflash = DATAFLASH.totalSize > 0;
$(".tab-dataflash").toggleClass("supported", supportsDataflash);