mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
71d7ba6c07
commit
3e28c46026
1 changed files with 2 additions and 0 deletions
|
|
@ -1442,6 +1442,7 @@
|
|||
}
|
||||
|
||||
messageInput?.setText('');
|
||||
prompt = '';
|
||||
|
||||
// Reset chat input textarea
|
||||
if (!($settings?.richTextInput ?? true)) {
|
||||
|
|
@ -2334,6 +2335,7 @@
|
|||
clearDraft();
|
||||
if (e.detail || files.length > 0) {
|
||||
await tick();
|
||||
|
||||
submitPrompt(
|
||||
($settings?.richTextInput ?? true)
|
||||
? e.detail.replaceAll('\n\n', '\n')
|
||||
|
|
|
|||
Loading…
Reference in a new issue