This commit is contained in:
2021-06-04 20:22:54 +02:00
parent bdd24d68fa
commit 82680cc0db

View File

@@ -239,7 +239,7 @@ function copy() {
ident = document.getElementById("ident-field").innerHTML ident = document.getElementById("ident-field").innerHTML
path = "/role-submission?id=" path = "/role-submission?id="
copyText = window.location.protocol + window.location.hostname + path + ident copyText = window.location.protocol + "//" + window.location.hostname + path + ident
navigator.clipboard.writeText(copyText) navigator.clipboard.writeText(copyText)
document.getElementById("copyLink").innerHTML = "Copied!" document.getElementById("copyLink").innerHTML = "Copied!"