fix ref to outputArea
This commit is contained in:
parent
1641d3b2d0
commit
f684f48cbe
@ -43,7 +43,7 @@ async function readResponse(response) {
|
|||||||
try {
|
try {
|
||||||
const json = JSON.parse(line); // Parse each line as JSON
|
const json = JSON.parse(line); // Parse each line as JSON
|
||||||
if (json.response) {
|
if (json.response) {
|
||||||
textbox.value += json.response; // Append response text to the textbox
|
outputArea.value += json.response; // Append response text to the outputArea
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Failed to parse JSON:", err, line);
|
console.error("Failed to parse JSON:", err, line);
|
||||||
|
Loading…
Reference in New Issue
Block a user