put else statement on same line as if statement (coding style)

10.5.x-maintenance
timman2er 2018-10-07 13:02:17 +02:00 committed by GitHub
parent 36962fe2dc
commit 78df652df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -93,8 +93,7 @@ function initializeSerialBackend() {
document.getElementById("tab_landing").style.display = "block";
document.getElementById("tab_help").style.display = "block";
$('#tabs ul.mode-disconnected .tab_landing a').click();
}
else {
} else {
$('#tabs ul.mode-disconnected .tab_firmware_flasher a').click();
$('div.open_firmware_flasher a.flash_state').text(i18n.getMessage('flashTab'));
$('div#flashbutton a.flash_state').addClass('active');