1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 09:45:28 +03:00

Fix flash button color (#3661)

This commit is contained in:
Mark Haslinghuis 2023-12-08 02:26:51 +01:00 committed by GitHub
parent edff729ec8
commit 6008284d09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -616,7 +616,7 @@ function connectCli() {
} }
function onConnect() { function onConnect() {
if ($('div#flashbutton a.flash_state').hasClass('active') && $('div#flashbutton a.flash').hasClass('active')) { if ($('div#flashbutton a.flash_state').hasClass('active') || $('div#flashbutton a.flash').hasClass('active')) {
$('div#flashbutton a.flash_state').removeClass('active'); $('div#flashbutton a.flash_state').removeClass('active');
$('div#flashbutton a.flash').removeClass('active'); $('div#flashbutton a.flash').removeClass('active');
} }