Browse Source

Fix clipboard

master
Skylar Ittner 6 months ago
parent
commit
8a8a5214e4
  1. 2
      www/assets/js/main.js

2
www/assets/js/main.js

@ -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