fix ref to outputArea

This commit is contained in:
Skylar Grant 2025-01-04 10:39:01 -05:00
parent 1641d3b2d0
commit f684f48cbe

View File

@ -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);