mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +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() {
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user