mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
adding missing GUI unlock/cleanup on error
This commit is contained in:
parent
1e15e611a5
commit
e9879ea545
1 changed files with 3 additions and 0 deletions
|
@ -220,6 +220,9 @@ function onOpen(openInfo) {
|
||||||
$('div#port-picker a.connect').text('Connect');
|
$('div#port-picker a.connect').text('Connect');
|
||||||
$('div#port-picker a.connect').removeClass('active');
|
$('div#port-picker a.connect').removeClass('active');
|
||||||
|
|
||||||
|
// unlock port select & baud
|
||||||
|
$('div#port-picker #port, div#port-picker #baud, div#port-picker #delay').prop('disabled', false);
|
||||||
|
|
||||||
// reset data
|
// reset data
|
||||||
$('div#port-picker a.connect').data("clicks", false);
|
$('div#port-picker a.connect').data("clicks", false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue