mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-06 07:01:36 +01:00
fix url
This commit is contained in:
@@ -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!"
|
||||||
|
|||||||
Reference in New Issue
Block a user