mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Fix Load Firmware buttons reactivation after flash
This commit is contained in:
parent
7a87426adb
commit
511ba1cf96
1 changed files with 3 additions and 1 deletions
|
@ -1023,7 +1023,9 @@ TABS.firmware_flasher.initialize = function (callback) {
|
|||
portPickerElement.change(function () {
|
||||
if ($('option:selected', this).data().isDFU && !GUI.connect_lock) {
|
||||
exitDfuElement.removeClass('disabled');
|
||||
} else {
|
||||
} else if (!GUI.connect_lock) {
|
||||
$("a.load_remote_file").removeClass('disabled');
|
||||
$("a.load_file").removeClass('disabled');
|
||||
exitDfuElement.addClass('disabled');
|
||||
}
|
||||
}).change();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue