kripke: fix form enter behavior
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user