Yaswanth56 commited on
Commit
294ffbb
·
verified ·
1 Parent(s): 457e682

Update static/script.js

Browse files
Files changed (1) hide show
  1. 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('chatMessages');
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;