Get state after finishing sequence, to update UI

This commit is contained in:
mmcw-dev 2017-12-21 00:15:55 -05:00
parent 9e13e0fb96
commit fdc43fdc37
2 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,6 @@ var setState = function (res) {
setDelayScale();
if (res.sequence == true) {
console.log(res.sequence);
STATE.sequence = true;
mobile.ble.active = true;
document.getElementById('seq').classList.add('focus');

View File

@ -159,6 +159,8 @@ web.sequenceSuccess = function (res) {
STATE.sequence = false;
document.getElementById('seq').blur();
document.getElementById('seq').classList.remove('focus');
//update frontend at end of sequence
mobile.getState();
}
}
web.useJson = function (res) {