Skip to content

Commit

Permalink
focus sur input à l'affichage
Browse files Browse the repository at this point in the history
  • Loading branch information
eyssette committed Nov 6, 2023
1 parent 219ee1a commit 247ab45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ const sendButton = document.getElementById("send-button");
const waitMessageElement = document.getElementById("wait-message")
const loaderElement = document.getElementById("loader")

userInput.focus();

function createCSE(data) {
const titleElement = document.getElementById("cse-title")
const initialMessageElement = document.getElementById("initial-message")
Expand Down
2 changes: 1 addition & 1 deletion script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 247ab45

Please sign in to comment.