Remove extraneous DOM manipulation from the sequenceSuccess function

This commit is contained in:
mmcw-dev 2017-12-21 00:17:19 -05:00
parent fdc43fdc37
commit 30e1c52ab0
1 changed files with 0 additions and 4 deletions

View File

@ -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);
}