mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -1322,6 +1322,10 @@
|
|||||||
history.messages[messages.at(-1).id].childrenIds.push(userMessageId);
|
history.messages[messages.at(-1).id].childrenIds.push(userMessageId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (autoScroll) {
|
||||||
|
scrollToBottom();
|
||||||
|
}
|
||||||
|
|
||||||
// focus on chat input
|
// focus on chat input
|
||||||
const chatInput = document.getElementById('chat-input');
|
const chatInput = document.getElementById('chat-input');
|
||||||
chatInput?.focus();
|
chatInput?.focus();
|
||||||
|
|||||||
Reference in New Issue
Block a user