diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 3a53b7e..e55d93e 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -8,7 +8,7 @@
let button: HTMLButtonElement;
let usernameInput: HTMLInputElement;
- async function requestReport(_: MouseEvent) {
+ async function requestReport() {
button.innerHTML = "Working...";
setTimeout(async () => {
@@ -40,7 +40,13 @@
-
+ {
+ if (event.key === "Enter") {
+ requestReport();
+ }
+ }
+ } bind:this={usernameInput}>