refac
This commit is contained in:
1 parent
793648bbd6
commit
c107a0cbf4
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user