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