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 e142f37e8d
1 changed files with 4 additions and 1 deletions

View File

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