Push dev work to master #2
|
@ -150,9 +150,15 @@ web.sequence = function () {
|
|||
}
|
||||
web.sequenceSuccess = function (res) {
|
||||
if (res.started && res.started != false) {
|
||||
STATE.sequence = true;
|
||||
document.getElementById('seq').focus();
|
||||
if (!document.getElementById('seq').classList.contains('focus')) {
|
||||
document.getElementById('seq').classList.add('focus');
|
||||
}
|
||||
} else if (res.stopped) {
|
||||
STATE.sequence = false;
|
||||
document.getElementById('seq').blur();
|
||||
document.getElementById('seq').classList.remove('focus');
|
||||
}
|
||||
}
|
||||
web.useJson = function (res) {
|
||||
|
|
Loading…
Reference in New Issue