kripke: fix form enter behavior

This commit is contained in:
2025-09-10 11:54:12 +09:00
parent 36f83c1e9d
commit e2ef49385f

View File

@@ -42,7 +42,7 @@ $effect(() => {
{/if}
{#snippet mathKey(latexCommand: string, actualText?: string)}
<button onclick={(e) => {
<button type="button" onclick={(e) => {
e.preventDefault();
input += actualText ?? latexCommand;
inputElement.focus();