854
edits
m (test) |
m (test) |
||
Line 6: | Line 6: | ||
$(function() { | $(function() { | ||
$(document).on("click", ".copy-to-clipboard-button", function() { | $(document).on("click", ".copy-to-clipboard-button", function() { | ||
new ClipboardJS(".copy-to-clipboard-button", { | |||
text: function() { | |||
return url; | |||
} | |||
}); | |||
}); | }); | ||
}); | }); |