.addclass to .hasclass
parent
b6f3f11ce6
commit
36c5a93dd8
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue