From 666ffebe90c04dc7fe064a98232538826af70738 Mon Sep 17 00:00:00 2001
From: Pavol Komlos <62595149+plundration@users.noreply.github.com>
Date: Wed, 12 Oct 2022 15:21:28 +0000
Subject: [PATCH] Decode the heading id from split link (#214)
---
assets/js/clipboard.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/assets/js/clipboard.js b/assets/js/clipboard.js
index 78979c8..cd928c1 100644
--- a/assets/js/clipboard.js
+++ b/assets/js/clipboard.js
@@ -25,7 +25,10 @@
() => {
button.blur();
button.innerHTML = svgCheck;
- setTimeout(() => (button.innerHTML = svgCopy), 2000);
+ setTimeout(() => {
+ button.innerHTML = svgCopy
+ button.style.borderColor = ""
+ }, 2000);
},
(error) => (button.innerHTML = "Error")
);
--
Gitblit v1.10.0