Focus on the chat input always

This commit is contained in:
oobabooga 2023-09-21 20:32:24 -07:00
parent d5330406fa
commit 12e312ae9c

View file

@ -237,6 +237,7 @@ function showMenu() {
function hideMenu() {
menu.style.display = 'none'; // Hide the menu
document.querySelector('#chat-input textarea').focus();
}
if (buttonsInChat.length > 0) {