diff --git a/web/src/components/misc/SectionHeading.svelte b/web/src/components/misc/SectionHeading.svelte index 85cfd0dd..1146b069 100644 --- a/web/src/components/misc/SectionHeading.svelte +++ b/web/src/components/misc/SectionHeading.svelte @@ -1,26 +1,30 @@
@@ -40,11 +44,14 @@ aria-label={copied ? $t("button.copied") : $t(`button.copy${copyData ? "" : ".section"}`)} - on:click={() => { + onclick={() => { if (!copied) { copyURL(copyData || sectionURL); hapticConfirm(); copied = true; + setTimeout(() => { + copied = false; + }, 1500); } }} >