This commit is contained in:
Timothy Jaeryang Baek
2025-07-04 20:30:34 +04:00
parent f58cb09d27
commit c9e1f454fc
3 changed files with 4 additions and 5 deletions
-2
View File
@@ -172,7 +172,6 @@
try {
const input = JSON.parse(storageChatInput);
console.log(input);
if (!$temporaryChatEnabled) {
messageInput?.setText(input.prompt);
files = input.files;
@@ -477,7 +476,6 @@
try {
const input = JSON.parse(storageChatInput);
console.log(input);
if (!$temporaryChatEnabled) {
messageInput?.setText(input.prompt);
+4 -1
View File
@@ -120,8 +120,11 @@
if ($settings?.richTextInput ?? true) {
chatInputElement.setText(text);
} else {
// chatInput.value = text;
chatInput.value = text;
prompt = text;
chatInput.focus();
chatInput.dispatchEvent(new Event('input'));
}
}
};