We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6781e7d commit 71b1d71Copy full SHA for 71b1d71
code_generation/interface.html
@@ -324,9 +324,9 @@
324
let maxLength = 1000;
325
if (prefixLength + suffixLength > maxLength) {
326
if (suffixLength >= maxLength) {
327
- transcriptElement.textContext = response.transcript.slice(-maxLength);
+ transcriptElement.textContent = response.transcript.slice(-maxLength);
328
} else {
329
- transcriptElement.textContext = transcriptElement.textContext.slice(-(maxLength-suffixLength))
+ transcriptElement.textContent = transcriptElement.textContent.slice(-(maxLength-suffixLength))
330
+ response.transcript;
331
}
332
0 commit comments