We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4821de0 commit 2edae82Copy full SHA for 2edae82
src/main/resources/automark/gui/components/Dashboard.js
@@ -178,10 +178,6 @@ export default class DashboardScreen extends Component {
178
const terminal = this.terminalRef.current
179
if (terminal != null) {
180
const terminalText = terminal.children[0]
181
- const childElementCount = terminalText.childElementCount
182
- for (let i = 0; i < childElementCount - 2000; i++) {
183
- terminalText.children[i].remove()
184
- }
185
const lineSpan = document.createElement("span")
186
lineSpan.innerText = text
187
terminalText.appendChild(lineSpan)
0 commit comments