mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-28 20:40:12 +02:00
web/DonateShareCard: fix unrelated buttons triggering the copy anim
This commit is contained in:
parent
e4ec468f60
commit
e7386234bc
@ -64,10 +64,7 @@
|
|||||||
<button
|
<button
|
||||||
id="action-button-github"
|
id="action-button-github"
|
||||||
class="action-button"
|
class="action-button"
|
||||||
on:click={async () => {
|
on:click={async () => openURL(contacts.github)}
|
||||||
openURL(contacts.github);
|
|
||||||
copied = true;
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<div class="action-button-icon">
|
<div class="action-button-icon">
|
||||||
<IconBrandGithub />
|
<IconBrandGithub />
|
||||||
@ -78,10 +75,7 @@
|
|||||||
<button
|
<button
|
||||||
id="action-button-twitter"
|
id="action-button-twitter"
|
||||||
class="action-button"
|
class="action-button"
|
||||||
on:click={async () => {
|
on:click={async () => openURL(contacts.twitter)}
|
||||||
openURL(contacts.twitter);
|
|
||||||
copied = true;
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<div class="action-button-icon">
|
<div class="action-button-icon">
|
||||||
<IconBrandTwitter />
|
<IconBrandTwitter />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user