Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo

This commit is contained in:
Jacky Zhao 2022-07-19 09:03:26 -07:00
commit 32c2a034bb

View File

@ -25,7 +25,10 @@ const addCopyButtons = () => {
() => { () => {
button.blur(); button.blur();
button.innerHTML = svgCheck; button.innerHTML = svgCheck;
setTimeout(() => (button.innerHTML = svgCopy), 2000); setTimeout(() => {
button.innerHTML = svgCopy
button.style.borderColor = ""
}, 2000);
}, },
(error) => (button.innerHTML = "Error") (error) => (button.innerHTML = "Error")
); );