diff options
| author | Fuwn <[email protected]> | 2026-01-23 02:20:50 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-23 02:20:50 -0800 |
| commit | 69753f974994b49b2df059f9b5b401d14db4a8fa (patch) | |
| tree | 810f5b23d3f2f97c61fdfcdf6a581d2d7d106b32 /src/lib/Notification/Notification.svelte | |
| parent | chore(prettier): Remove deprecated pluginSearchDirs option (diff) | |
| download | due.moe-69753f974994b49b2df059f9b5b401d14db4a8fa.tar.xz due.moe-69753f974994b49b2df059f9b5b401d14db4a8fa.zip | |
refactor: Migrate event handlers to new Svelte 5 syntax
Diffstat (limited to 'src/lib/Notification/Notification.svelte')
| -rw-r--r-- | src/lib/Notification/Notification.svelte | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/Notification/Notification.svelte b/src/lib/Notification/Notification.svelte index c4232ced..ec8d5be7 100644 --- a/src/lib/Notification/Notification.svelte +++ b/src/lib/Notification/Notification.svelte @@ -21,8 +21,8 @@ <div id="notification-container" class={removed ? 'fade-out' : 'fade-in'} - on:click={remove} - on:keydown={() => { + onclick={remove} + onkeydown={() => { return; }} role="button" @@ -33,8 +33,8 @@ <details open id="notification" - on:click|preventDefault={(event) => event.preventDefault()} - on:keydown={() => { + onclick={(event) => event.preventDefault()} + onkeydown={() => { return; }} > |