From 12e312ae9cf8f6fd5056e429039f783054257a99 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:32:24 -0700 Subject: [PATCH] Focus on the chat input always --- js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/main.js b/js/main.js index ebbada71..2155794a 100644 --- a/js/main.js +++ b/js/main.js @@ -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) {