mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-06 15:11:35 +01:00
fix url
This commit is contained in:
@@ -239,7 +239,7 @@ function copy() {
|
||||
|
||||
ident = document.getElementById("ident-field").innerHTML
|
||||
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)
|
||||
document.getElementById("copyLink").innerHTML = "Copied!"
|
||||
|
||||
Reference in New Issue
Block a user