From e142f37e8dea7f6f502026cc35ea02390be63556 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 19 Jul 2022 16:03:26 +0000
Subject: [PATCH] Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo
---
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