Merge pull request #2730 from limonspb/language_firmware_flashed_fix

Fix firmware flash button when non-english is selected and FC is conn…
10.8-maintenance
haslinghuis 2022-01-02 16:44:41 +01:00 committed by GitHub
commit 4d00fca6bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ function startProcess() {
return; return;
} }
if (GUI.allowedTabs.indexOf(tab) < 0 && tabName === "Firmware Flasher") { if (GUI.allowedTabs.indexOf(tab) < 0 && tab === "firmware_flasher") {
if (GUI.connected_to || GUI.connecting_to) { if (GUI.connected_to || GUI.connecting_to) {
$('a.connect').click(); $('a.connect').click();
} else { } else {