diff options
| author | Fuwn <[email protected]> | 2024-01-11 00:36:21 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-11 00:36:21 -0800 |
| commit | e12092067195b18246ca72a4fa0b7e2e995861ae (patch) | |
| tree | 3da9937f7114e7a729a1f143b86dad6bce6cf738 /src/lib/Tools | |
| parent | feat(calculation): invert smart calculation option (diff) | |
| download | due.moe-e12092067195b18246ca72a4fa0b7e2e995861ae.tar.xz due.moe-e12092067195b18246ca72a4fa0b7e2e995861ae.zip | |
fix(randomfollower): onsubmit for button
Diffstat (limited to 'src/lib/Tools')
| -rw-r--r-- | src/lib/Tools/InputTemplate.svelte | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Tools/InputTemplate.svelte b/src/lib/Tools/InputTemplate.svelte index 1b677546..d0e37f98 100644 --- a/src/lib/Tools/InputTemplate.svelte +++ b/src/lib/Tools/InputTemplate.svelte @@ -37,7 +37,11 @@ /> <button class="button-lined" - on:click={() => (submission = input)} + on:click={() => { + submission = input; + + onSubmit(); + }} title="Or click your Enter key" data-umami-event={event} > |