mirror of
https://github.com/open-webui/open-webui.git
synced 2025-04-13 06:19:08 +02:00
refac
This commit is contained in:
parent
da9a6c1078
commit
67647c8747
@ -829,6 +829,8 @@
|
||||
})
|
||||
);
|
||||
} else {
|
||||
prompt = '';
|
||||
|
||||
// Reset chat input textarea
|
||||
const chatInputContainer = document.getElementById('chat-input-container');
|
||||
|
||||
@ -2248,7 +2250,6 @@
|
||||
}}
|
||||
on:submit={async (e) => {
|
||||
if (e.detail) {
|
||||
prompt = '';
|
||||
await tick();
|
||||
submitPrompt(e.detail.replaceAll('\n\n', '\n'));
|
||||
}
|
||||
@ -2293,7 +2294,6 @@
|
||||
}}
|
||||
on:submit={async (e) => {
|
||||
if (e.detail) {
|
||||
prompt = '';
|
||||
await tick();
|
||||
submitPrompt(e.detail.replaceAll('\n\n', '\n'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user