Prevent navigation on logo click

This commit is contained in:
Jade Ellis 2024-09-10 02:18:20 +01:00
parent 8de1461103
commit 3ff04eba7e
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -18,7 +18,7 @@
<div class="hero card edge h-card">
<div
class="logo"
on:click={wiggle}
on:click|preventDefault={wiggle}
on:animationiteration={wiggleIteration}
bind:this={logo}
>