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 eccd335 commit 410fe47Copy full SHA for 410fe47
script.js
@@ -4,6 +4,7 @@ function streamMessage(cssClass, text) {
4
chat.appendChild(msg);
5
6
const lines = text.split("\n");
7
+
8
let currentList = null;
9
10
const interval = setInterval(() => {
@@ -15,7 +16,6 @@ function streamMessage(cssClass, text) {
15
16
const line = lines.shift().trim();
17
18
if (line === "") {
- currentList = null; // reset lijst bij lege regel
19
const br = document.createElement("br");
20
msg.appendChild(br);
21
return;
@@ -50,4 +50,3 @@ function streamMessage(cssClass, text) {
50
chat.scrollTop = chat.scrollHeight;
51
}, 50);
52
}
53
-
0 commit comments