Skip to content

Commit

Permalink
Fix flash button color (#3661)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Dec 8, 2023
1 parent edff729 commit 6008284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/serial_backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ function connectCli() {
}

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').removeClass('active');
}
Expand Down

0 comments on commit 6008284

Please sign in to comment.