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(() => {
|
||||
if (STATE.sequence) {
|
||||
mobile.ble.active = true;
|
||||
if (!document.getElementById('seq').classList.contains('focus')) {
|
||||
document.getElementById('seq').classList.add('focus');
|
||||
}
|
||||
} else {
|
||||
mobile.ble.active = false;
|
||||
document.getElementById('seq').classList.remove('focus');
|
||||
}
|
||||
}, 20);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue