diff --git a/app/static/script.js b/app/static/script.js index e92ba1e..4779116 100644 --- a/app/static/script.js +++ b/app/static/script.js @@ -13,7 +13,7 @@ function sendMessage() { } else { message = "Encountered an error while trying to get a response."; } - chatbox.innerHTML += `
${this.responseText}
`; + chatbox.innerHTML += `
${message}
`; chatbox.scrollTop = chatbox.scrollHeight; } };