diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index a012382926..479b084203 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2209,7 +2209,7 @@ if (query || eventFiles?.length) { if (query) { - messageInput?.setText(query); + await messageInput?.setText(query); } await tick(); submitHandler(query || ''); @@ -2217,7 +2217,7 @@ } } else if ($page.url.searchParams.get('q')) { const q = $page.url.searchParams.get('q') ?? ''; - messageInput?.setText(q); + await messageInput?.setText(q); if (q) { if (($page.url.searchParams.get('submit') ?? 'true') === 'true') { diff --git a/src/lib/components/chat/FileNav/FileCompare.svelte b/src/lib/components/chat/FileNav/FileCompare.svelte index 647c69fc83..09562b52ff 100644 --- a/src/lib/components/chat/FileNav/FileCompare.svelte +++ b/src/lib/components/chat/FileNav/FileCompare.svelte @@ -121,7 +121,7 @@ />