Skip to content

Commit 6023387

Browse files
authored
Use innerHTML instead of append to fix gravity color output (#3566)
2 parents 81d6122 + 1c753f7 commit 6023387

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)