aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Notification
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Notification')
-rw-r--r--src/lib/Notification/Notification.svelte8
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;
}}
>