mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
added focus selector
This commit is contained in:
parent
6df2505bf0
commit
7c7e16c382
@ -293,6 +293,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
const chatInput = document.getElementById('chat-textarea');
|
||||||
|
chatInput?.focus();
|
||||||
|
|
||||||
const dropZone = document.querySelector('body');
|
const dropZone = document.querySelector('body');
|
||||||
|
|
||||||
const onDragOver = (e) => {
|
const onDragOver = (e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user