Skip to content

Commit

Permalink
misc: spelling rectificaation in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Satya Prakash Sasini authored and Satya Prakash Sasini committed Nov 8, 2024
1 parent 017d5cb commit 40674be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function sendMessage() {
let input = document.getElementById("chatbot-input").value;
if (input) {
displayUserMessage(input);
document.getElementById("chatbot-input").value = ""; // Clearing the mesage iput field justn after user message is displayed.
document.getElementById("chatbot-input").value = ""; // Clearing the mesage input field just after user message is displayed.

// Wait for the chatbot response
let output = await chatbot(input); // Ensure this line is awaited
Expand Down

0 comments on commit 40674be

Please sign in to comment.