Change innerHTML, not innerText
This commit is contained in:
parent
bb41526516
commit
72b127f134
|
@ -183,12 +183,12 @@ var seqState = function (state) {
|
||||||
if (state) {
|
if (state) {
|
||||||
if (!elem.classList.contains('focus')) {
|
if (!elem.classList.contains('focus')) {
|
||||||
elem.classList.add('focus');
|
elem.classList.add('focus');
|
||||||
elem.innerText = 'STOP SEQUENCE';
|
elem.innerHTML = 'STOP SEQUENCE';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (elem.classList.contains('focus')) {
|
if (elem.classList.contains('focus')) {
|
||||||
elem.classList.remove('focus');
|
elem.classList.remove('focus');
|
||||||
elem.innerText = 'START SEQUENCE';
|
elem.innerHTML = 'START SEQUENCE';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue