From 163cc81dd99e9610d247bb00fbd0e8d2411df00b Mon Sep 17 00:00:00 2001 From: Ivan Efimov Date: Sun, 2 Jan 2022 04:01:30 -0600 Subject: [PATCH] Fix firmware flash button when non-english is selected and FC is connected --- src/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/main.js b/src/js/main.js index 496cc31b..96748578 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -261,7 +261,7 @@ function startProcess() { 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) { $('a.connect').click(); } else {