Fix clipboard
This commit is contained in:
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…
x
Reference in New Issue
Block a user