mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-24 13:28:59 +01:00
Focus on the chat input always
This commit is contained in:
parent
d5330406fa
commit
12e312ae9c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user