mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
another refactor for global variables, bugfixes for logging tab initialization in strict mode
This commit is contained in:
parent
f3ea5757f7
commit
b77ed6b174
15 changed files with 66 additions and 70 deletions
|
@ -51,7 +51,7 @@ $(document).ready(function() {
|
|||
$('#content').empty();
|
||||
|
||||
// load default html
|
||||
tabs.default.initialize();
|
||||
TABS.default.initialize();
|
||||
}
|
||||
|
||||
$(this).data("clicks", !clicks);
|
||||
|
@ -185,7 +185,7 @@ function read_serial(info) {
|
|||
if (!CONFIGURATOR.cliActive && !CONFIGURATOR.mspPassThrough) {
|
||||
MSP.read(info);
|
||||
} else if (CONFIGURATOR.cliActive) {
|
||||
tabs.cli.read(info);
|
||||
TABS.cli.read(info);
|
||||
} else if (CONFIGURATOR.mspPassThrough) {
|
||||
MSP.read(info);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue