Skip to content

Commit

Permalink
Fix binding button element
Browse files Browse the repository at this point in the history
  • Loading branch information
Stadly authored Apr 17, 2024
1 parent e966830 commit 72e4c17
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<!-- svelte-ignore a11y-no-static-element-interactions -->
<svelte:element
this={href ? "a" : "button"}
bind:this={el}
type={href ? undefined : type}
{href}
on:click
Expand Down

0 comments on commit 72e4c17

Please sign in to comment.