web/DonateShareCard: fix unrelated buttons triggering the copy anim

This commit is contained in:
wukko 2024-08-09 14:51:25 +06:00
parent e4ec468f60
commit e7386234bc
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -64,10 +64,7 @@
<button
id="action-button-github"
class="action-button"
on:click={async () => {
openURL(contacts.github);
copied = true;
}}
on:click={async () => openURL(contacts.github)}
>
<div class="action-button-icon">
<IconBrandGithub />
@ -78,10 +75,7 @@
<button
id="action-button-twitter"
class="action-button"
on:click={async () => {
openURL(contacts.twitter);
copied = true;
}}
on:click={async () => openURL(contacts.twitter)}
>
<div class="action-button-icon">
<IconBrandTwitter />