mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
793648bbd6
commit
c107a0cbf4
1 changed files with 2 additions and 2 deletions
|
|
@ -362,8 +362,8 @@
|
|||
text = await textVariableHandler(text || '');
|
||||
|
||||
if ($settings?.richTextInput ?? true) {
|
||||
chatInputElement.setText(text);
|
||||
chatInputElement.focus();
|
||||
chatInputElement?.setText(text);
|
||||
chatInputElement?.focus();
|
||||
} else {
|
||||
chatInput.value = text;
|
||||
prompt = text;
|
||||
|
|
|
|||
Loading…
Reference in a new issue