(text)
| 35 | } |
| 36 | |
| 37 | function appendToLastLine(text) { |
| 38 | if (phasesEl.lastElementChild) { |
| 39 | phasesEl.lastElementChild.textContent += text; |
| 40 | phasesEl.scrollTop = phasesEl.scrollHeight; |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | function clearPhases() { |
| 45 | phasesEl.textContent = ""; |