From 69753f974994b49b2df059f9b5b401d14db4a8fa Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Fri, 23 Jan 2026 02:20:50 -0800
Subject: refactor: Migrate event handlers to new Svelte 5 syntax

---
 src/lib/Tools/InputTemplate.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/Tools/InputTemplate.svelte')

diff --git a/src/lib/Tools/InputTemplate.svelte b/src/lib/Tools/InputTemplate.svelte
index c0ee4f1d..5627eda6 100644
--- a/src/lib/Tools/InputTemplate.svelte
+++ b/src/lib/Tools/InputTemplate.svelte
@@ -30,7 +30,7 @@
       type="text"
       placeholder={field}
       bind:value={input}
-      on:keypress={(e) => {
+      onkeypress={(e) => {
         if (e.key === 'Enter') {
           submission = input;
 
@@ -43,7 +43,7 @@
     />
     <button
       class="button-lined"
-      on:click={() => {
+      onclick={() => {
         submission = input;
 
         onSubmit();
-- 
cgit v1.2.3

