Fix clipboard

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

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

Loading…
Cancel
Save