Fix clipboard

master
Skylar Ittner 3 years ago
parent 2c4d57ece8
commit 8a8a5214e4

@ -175,7 +175,7 @@ $("body").on("click", ".copyonclick", function () {
// prevent copying copied text if double-clicked
return;
}
navigator.clipboard.writeText(copytext).then(() => {
copyToClipboard(copytext, function () {
copyitem.text("Copied!");
setTimeout(function () {
copyitem.text(copytext);

Loading…
Cancel
Save