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() { function hideMenu() {
menu.style.display = 'none'; // Hide the menu menu.style.display = 'none'; // Hide the menu
document.querySelector('#chat-input textarea').focus();
} }
if (buttonsInChat.length > 0) { if (buttonsInChat.length > 0) {