Hotfix: Link was not copyable
All checks were successful
Jenkins Production Deployment

This commit is contained in:
Patrick Müller 2021-10-11 12:43:29 +02:00
parent 62ac545c03
commit 2bfc666ee7
Signed by: Paddy
GPG Key ID: 3433DBC617B195CA

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();