Remove extraneous DOM manipulation from the sequenceSuccess function
This commit is contained in:
parent
fdc43fdc37
commit
30e1c52ab0
|
@ -270,12 +270,8 @@ mobile.sequenceSuccess = function () {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (STATE.sequence) {
|
if (STATE.sequence) {
|
||||||
mobile.ble.active = true;
|
mobile.ble.active = true;
|
||||||
if (!document.getElementById('seq').classList.contains('focus')) {
|
|
||||||
document.getElementById('seq').classList.add('focus');
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
mobile.ble.active = false;
|
mobile.ble.active = false;
|
||||||
document.getElementById('seq').classList.remove('focus');
|
|
||||||
}
|
}
|
||||||
}, 20);
|
}, 20);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue