Fix: Back to normal state after the link being copied
This commit is contained in:
parent
313c64cb2b
commit
1293f093d5
@ -17,7 +17,6 @@ clipboard.on("success", function (e) {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
feedback.classList.add("hidden");
|
feedback.classList.add("hidden");
|
||||||
clipboardDiv.classList.remove("bg-green-100");
|
clipboardDiv.classList.remove("bg-green-100");
|
||||||
clipboardDiv.classList.add("bg-white", "hover:bg-gray-100");
|
|
||||||
}, 2000);
|
}, 2000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user