Change innerHTML, not innerText

This commit is contained in:
mmcw-dev 2017-12-22 16:34:06 -05:00
parent bb41526516
commit 72b127f134
1 changed files with 2 additions and 2 deletions

View File

@ -183,12 +183,12 @@ var seqState = function (state) {
if (state) {
if (!elem.classList.contains('focus')) {
elem.classList.add('focus');
elem.innerText = 'STOP SEQUENCE';
elem.innerHTML = 'STOP SEQUENCE';
}
} else {
if (elem.classList.contains('focus')) {
elem.classList.remove('focus');
elem.innerText = 'START SEQUENCE';
elem.innerHTML = 'START SEQUENCE';
}
}
};