diff --git a/src/lib/ui/Notification.svelte b/src/lib/ui/Notification.svelte index 2349e08..f16abec 100644 --- a/src/lib/ui/Notification.svelte +++ b/src/lib/ui/Notification.svelte @@ -1,5 +1,6 @@ - +
{mouse_pos.left = e.pageX; mouse_pos.top = e.pageY}} + on:mouseup={e => {if (e.pageX == mouse_pos.left && e.pageY == mouse_pos.top) gotoPost(e)}} + on:keydown={gotoPost}>
{#if data.type === "favourite"} {:else if data.type === "reblog"} - {:else if data.type === "react"} + {:else if data.type === "reaction"} {:else if data.type === "mention"} @@ -88,7 +110,7 @@ {/if} {/if} - +