This commit is contained in:
Timothy Jaeryang Baek 2025-07-08 10:09:32 +04:00
parent 793648bbd6
commit c107a0cbf4

View file

@ -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;