refac
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user