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
793648bbd6
commit
c107a0cbf4
1 changed files with 2 additions and 2 deletions
|
|
@ -362,8 +362,8 @@
|
||||||
text = await textVariableHandler(text || '');
|
text = await textVariableHandler(text || '');
|
||||||
|
|
||||||
if ($settings?.richTextInput ?? true) {
|
if ($settings?.richTextInput ?? true) {
|
||||||
chatInputElement.setText(text);
|
chatInputElement?.setText(text);
|
||||||
chatInputElement.focus();
|
chatInputElement?.focus();
|
||||||
} else {
|
} else {
|
||||||
chatInput.value = text;
|
chatInput.value = text;
|
||||||
prompt = text;
|
prompt = text;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue