mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-31 12:28:50 +08:00
made copy username tooltip properties uniform
This commit is contained in:
parent
3741c4b414
commit
60b580f430
1 changed files with 4 additions and 2 deletions
|
|
@ -309,11 +309,13 @@
|
|||
</a>
|
||||
</p>
|
||||
|
||||
<div class="tooltip" onclick="copyUserName()">
|
||||
<!-- <div class="tooltip" onclick="copyUserName()">
|
||||
Discord: Miodec#1512
|
||||
<span class="tooltiptext">Click to copy</span>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
Discord:
|
||||
<button aria-label="Click To Copy" data-balloon-pos="up" onclick="copyUserName()">Miodec#1512</button>
|
||||
<script>
|
||||
function copyUserName() {
|
||||
navigator.clipboard.writeText("Miodec#1512");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue