From f684f48cbebec22e9b0511259c33d439064b9fd4 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sat, 4 Jan 2025 10:39:01 -0500 Subject: [PATCH] fix ref to outputArea --- src/assets/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/js/main.js b/src/assets/js/main.js index 7840afb..1fff881 100644 --- a/src/assets/js/main.js +++ b/src/assets/js/main.js @@ -43,7 +43,7 @@ async function readResponse(response) { try { const json = JSON.parse(line); // Parse each line as JSON 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) { console.error("Failed to parse JSON:", err, line);