mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04: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