diff --git a/src/js/main.js b/src/js/main.js index 88086dee..3e5dfdb6 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -173,7 +173,7 @@ function startProcess() { GUI.tab_switch_cleanup(function () { // disable active firmware flasher if it was active - if ($('div#flashbutton a.flash_state').hasClass('active') && $('div#flashbutton a.flash').addClass('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'); }