mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
Added ablility to copy discord tag on click
This commit is contained in:
parent
2036b2b3a0
commit
bf21a1b96c
1 changed files with 22 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue