mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
Merge branch 'development' of https://github.com/pulsar256/cleanflight-configurator into pulsar256-development
This commit is contained in:
commit
20a82e7339
3 changed files with 21 additions and 0 deletions
|
@ -209,6 +209,13 @@ function onConnect() {
|
|||
$('div#port-picker a.connect').text(chrome.i18n.getMessage('disconnect')).addClass('active');
|
||||
$('#tabs ul.mode-disconnected').hide();
|
||||
$('#tabs ul.mode-connected').show();
|
||||
|
||||
if ("CLFL" == CONFIG.flightControllerIdentifier){
|
||||
var helpButton = $('#button-help');
|
||||
helpButton.show();
|
||||
helpButton.html("Documentation for "+CONFIG.flightControllerVersion);
|
||||
helpButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion));
|
||||
}
|
||||
}
|
||||
|
||||
function onClosed(result) {
|
||||
|
@ -220,6 +227,7 @@ function onClosed(result) {
|
|||
|
||||
$('#tabs ul.mode-connected').hide();
|
||||
$('#tabs ul.mode-disconnected').show();
|
||||
$('#button-help').hide();
|
||||
}
|
||||
|
||||
function read_serial(info) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue