Added ablility to copy discord tag on click

This commit is contained in:
UnrealApex 2021-04-24 18:55:23 +00:00
parent 2036b2b3a0
commit bf21a1b96c

View file

@ -265,7 +265,28 @@
Email:
<a href="mailto: bartnikjack@gmail.com">bartnikjack@gmail.com</a>
</p>
<p>Discord: Miodec#1512</p>
<!-- <script>
// FIXME: fix copyUserName()
function copyUserName() {
var text = "Miodec#1512";
text.select();
text.setSelectionRange(0, 99999);
document.execCommand("copy");
return text;
alert("Copied!");
}
</script> -->
<p>
Discord:
<!-- <button
title="Click me to copy username"
id="copyButton"
value="Miodec#1512"
onclick="copyUserName()"
> -->
Miodec#1512
<!-- </button> -->
</p>
</div>
</div>
</body>