Hotfix: Link was not copyable
Jenkins Production Deployment

This commit is contained in:
2021-10-11 12:43:29 +02:00
parent 62ac545c03
commit 2bfc666ee7
+1 -1
View File
@@ -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();