mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
FIX: Load firmware online button not enabled if not in expert mode (#3142)
This commit is contained in:
parent
44684cb8d0
commit
54747c9c2b
1 changed files with 9 additions and 9 deletions
|
@ -279,8 +279,7 @@ firmware_flasher.initialize = function (callback) {
|
|||
const expertMode = $('.tab-firmware_flasher input.expert_mode').is(':checked');
|
||||
if (!expertMode) {
|
||||
$('div.commitSelection').hide();
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
$('div.commitSelection').show();
|
||||
|
||||
self.releaseLoader.loadCommits(summary.release, (commits) => {
|
||||
|
@ -291,6 +290,7 @@ firmware_flasher.initialize = function (callback) {
|
|||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (summary.configuration && !self.isConfigLocal) {
|
||||
setBoardConfig(summary.configuration.join('\n'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue