mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-17 17:15:55 +08:00
refac
This commit is contained in:
parent
c5d974606f
commit
6b620d93a9
@ -20,6 +20,10 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$: if (value) {
|
||||||
|
setTimeout(adjustHeight, 0);
|
||||||
|
}
|
||||||
|
|
||||||
const adjustHeight = () => {
|
const adjustHeight = () => {
|
||||||
if (textareaElement) {
|
if (textareaElement) {
|
||||||
textareaElement.style.height = '';
|
textareaElement.style.height = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user