Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit 782bf04714 - Show all commits

View File

@ -150,9 +150,15 @@ web.sequence = function () {
} }
web.sequenceSuccess = function (res) { web.sequenceSuccess = function (res) {
if (res.started && res.started != false) { if (res.started && res.started != false) {
STATE.sequence = true;
document.getElementById('seq').focus(); document.getElementById('seq').focus();
if (!document.getElementById('seq').classList.contains('focus')) {
document.getElementById('seq').classList.add('focus');
}
} else if (res.stopped) { } else if (res.stopped) {
STATE.sequence = false;
document.getElementById('seq').blur(); document.getElementById('seq').blur();
document.getElementById('seq').classList.remove('focus');
} }
} }
web.useJson = function (res) { web.useJson = function (res) {