mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 08:15:22 +03:00
Fix toggle buttons reverting to checkboxes after reboot.
This moves GUI specific code out of main and the individual tab js files into gui.js, where it fits better.
This commit is contained in:
parent
a0acd86873
commit
d73196ea11
21 changed files with 49 additions and 47 deletions
|
@ -448,7 +448,7 @@ TABS.sensors.initialize = function (callback) {
|
|||
MSP.send_message(MSP_codes.MSP_STATUS);
|
||||
}, 250, true);
|
||||
|
||||
if (callback) callback();
|
||||
GUI.content_ready(callback);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue