diff --git a/src/pages/spec/[version]/md.astro b/src/pages/spec/[version]/md.astro index e87e7fd..63cac64 100644 --- a/src/pages/spec/[version]/md.astro +++ b/src/pages/spec/[version]/md.astro @@ -210,31 +210,18 @@ const previewHtml = await unified()
-
- - -
- Copied! -
-
+ setActiveToggle(false)); function showCopiedFeedback() { - // Desktop: change button text if (copyText) { copyText.textContent = "Copied!"; setTimeout(() => { copyText.textContent = "Copy"; }, 2000); } - // Mobile: show tooltip - if (copyTooltip) { - copyTooltip.classList.remove("opacity-0"); - copyTooltip.classList.add("opacity-100"); - setTimeout(() => { - copyTooltip.classList.remove("opacity-100"); - copyTooltip.classList.add("opacity-0"); - }, 2000); - } } // Copy button