mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 21:05:30 +03:00
only issue is disconnecting on clicking firmware flasher
This commit is contained in:
parent
c337fdc898
commit
8810d353b2
3 changed files with 17 additions and 2 deletions
|
@ -171,6 +171,11 @@ function startProcess() {
|
|||
GUI.tab_switch_in_progress = true;
|
||||
|
||||
GUI.tab_switch_cleanup(function () {
|
||||
// disable active firmware flasher if it was active
|
||||
if ($('div#flashbutton a.flash_state').hasClass('active') && $('div#flashbutton a.flash').addClass('active')) {
|
||||
$('div#flashbutton a.flash_state').removeClass('active');
|
||||
$('div#flashbutton a.flash').removeClass('active');
|
||||
}
|
||||
// disable previously active tab highlight
|
||||
$('li', ui_tabs).removeClass('active');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue