web/assets/js/dist/_commons/copy-link.min.js

1 line
180 B
JavaScript
Raw Normal View History

function copyLink(){var a=window.location.href;var b=$("<input>");$("body").append(b);b.val(a).select();document.execCommand("copy");b.remove();alert("Link copied successfully!")};