mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
bugfix for tab inner re-initialization
This commit is contained in:
parent
8686a45831
commit
430d366c8f
2 changed files with 8 additions and 2 deletions
|
@ -136,7 +136,9 @@ function tab_initialize_initial_setup() {
|
|||
send_message(MSP_codes.MSP_RESET_CONF, MSP_codes.MSP_RESET_CONF, false, function() {
|
||||
GUI.log('Settings restored to <strong>default</strong>');
|
||||
|
||||
tab_initialize_initial_setup();
|
||||
GUI.tab_switch_cleanup(function() {
|
||||
tab_initialize_initial_setup();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -144,7 +144,11 @@ function tab_initialize_pid_tuning() {
|
|||
|
||||
// UI Hooks
|
||||
$('a.refresh').click(function() {
|
||||
tab_initialize_pid_tuning();
|
||||
GUI.tab_switch_cleanup(function() {
|
||||
GUI.log('PID data <strong>refreshed</strong>');
|
||||
|
||||
tab_initialize_pid_tuning();
|
||||
});
|
||||
});
|
||||
|
||||
$('a.update').click(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue