mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
put else statement on same line as if statement (coding style)
This commit is contained in:
parent
36962fe2dc
commit
78df652df9
1 changed files with 1 additions and 2 deletions
|
@ -93,8 +93,7 @@ function initializeSerialBackend() {
|
||||||
document.getElementById("tab_landing").style.display = "block";
|
document.getElementById("tab_landing").style.display = "block";
|
||||||
document.getElementById("tab_help").style.display = "block";
|
document.getElementById("tab_help").style.display = "block";
|
||||||
$('#tabs ul.mode-disconnected .tab_landing a').click();
|
$('#tabs ul.mode-disconnected .tab_landing a').click();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$('#tabs ul.mode-disconnected .tab_firmware_flasher a').click();
|
$('#tabs ul.mode-disconnected .tab_firmware_flasher a').click();
|
||||||
$('div.open_firmware_flasher a.flash_state').text(i18n.getMessage('flashTab'));
|
$('div.open_firmware_flasher a.flash_state').text(i18n.getMessage('flashTab'));
|
||||||
$('div#flashbutton a.flash_state').addClass('active');
|
$('div#flashbutton a.flash_state').addClass('active');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue