This commit is contained in:
parent
62ac545c03
commit
2bfc666ee7
|
@ -18,7 +18,7 @@ $(document).ready(function () {
|
|||
|
||||
function copyToClipboard(text) {
|
||||
var $temp = $("<input>");
|
||||
$("body").append($temp);
|
||||
$("#linkModal").append($temp);
|
||||
$temp.val(text).select();
|
||||
document.execCommand("copy");
|
||||
$temp.remove();
|
||||
|
|
Loading…
Reference in New Issue
Block a user