Spaces:
Sleeping
Sleeping
Update static/script.js
Browse files- static/script.js +1 -1
static/script.js
CHANGED
@@ -20,7 +20,7 @@ function addMessage(role, message) {
|
|
20 |
}
|
21 |
|
22 |
function sendMessage() {
|
23 |
-
const userInput = document.getElementById('
|
24 |
if (!userInput) {
|
25 |
console.error('User input field not found!');
|
26 |
return;
|
|
|
20 |
}
|
21 |
|
22 |
function sendMessage() {
|
23 |
+
const userInput = document.getElementById('userInput');
|
24 |
if (!userInput) {
|
25 |
console.error('User input field not found!');
|
26 |
return;
|