put else statement on same line as if statement (coding style)
parent
36962fe2dc
commit
78df652df9
|
@ -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…
Reference in New Issue