Skip to content

Commit 1c753f7

Browse files
committed
Use innerHTML instead of append to fix gravity color output
Signed-off-by: yubiuser <[email protected]>
1 parent 3182af0 commit 1c753f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/js/gravity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function parseLines(outputElement, text) {
138138
});
139139

140140
// Append the new text to the end of the output
141-
outputElement.append(line);
141+
outputElement.innerHTML += line;
142142
}
143143
}
144144

0 commit comments

Comments
 (0)