mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
da9a6c1078
commit
67647c8747
1 changed files with 2 additions and 2 deletions
|
|
@ -829,6 +829,8 @@
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
prompt = '';
|
||||||
|
|
||||||
// Reset chat input textarea
|
// Reset chat input textarea
|
||||||
const chatInputContainer = document.getElementById('chat-input-container');
|
const chatInputContainer = document.getElementById('chat-input-container');
|
||||||
|
|
||||||
|
|
@ -2248,7 +2250,6 @@
|
||||||
}}
|
}}
|
||||||
on:submit={async (e) => {
|
on:submit={async (e) => {
|
||||||
if (e.detail) {
|
if (e.detail) {
|
||||||
prompt = '';
|
|
||||||
await tick();
|
await tick();
|
||||||
submitPrompt(e.detail.replaceAll('\n\n', '\n'));
|
submitPrompt(e.detail.replaceAll('\n\n', '\n'));
|
||||||
}
|
}
|
||||||
|
|
@ -2293,7 +2294,6 @@
|
||||||
}}
|
}}
|
||||||
on:submit={async (e) => {
|
on:submit={async (e) => {
|
||||||
if (e.detail) {
|
if (e.detail) {
|
||||||
prompt = '';
|
|
||||||
await tick();
|
await tick();
|
||||||
submitPrompt(e.detail.replaceAll('\n\n', '\n'));
|
submitPrompt(e.detail.replaceAll('\n\n', '\n'));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue