mirror of
https://github.com/open-webui/open-webui
synced 2024-11-26 14:02:29 +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