mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-17 05:15:20 +03:00
Update serial_backend.js
This commit is contained in:
parent
daa4d55f5c
commit
dc4f51e6db
1 changed files with 46 additions and 38 deletions
|
@ -130,7 +130,14 @@ $(document).ready(function () {
|
|||
helper.interval.killAll(['global_data_refresh', 'msp-load-update']);
|
||||
helper.mspBalancedInterval.flush();
|
||||
|
||||
if (CONFIGURATOR.cliActive) {
|
||||
GUI.tab_switch_cleanup(finishDisconnect);
|
||||
} else {
|
||||
GUI.tab_switch_cleanup();
|
||||
finishDisconnect();
|
||||
}
|
||||
|
||||
function finishDisconnect() {
|
||||
GUI.tab_switch_in_progress = false;
|
||||
CONFIGURATOR.connectionValid = false;
|
||||
GUI.connected_to = false;
|
||||
|
@ -169,6 +176,7 @@ $(document).ready(function () {
|
|||
|
||||
$('#tabs .tab_landing a').click();
|
||||
}
|
||||
}
|
||||
|
||||
$(this).data("clicks", !clicks);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue