From 36c5a93dd8b9c83edcf5ef3012d9a07082c02ade Mon Sep 17 00:00:00 2001 From: timman2er Date: Tue, 9 Oct 2018 12:52:15 +0200 Subject: [PATCH] .addclass to .hasclass --- 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 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'); }