add tooltip to status bubble

This commit is contained in:
zyqunix 2025-02-13 21:18:14 +01:00
parent b42a701513
commit 13d2a5dc29
2 changed files with 2 additions and 1 deletions

View file

@ -26,7 +26,7 @@
<div class="player" id="player"> <div class="player" id="player">
<div> <div>
<img class="pfp" id="pfp" src="https://easyfiles.cc/2024/12/a3046d6f-a1b1-415a-8f55-8981a8e45ddb/3ccc13a2825eb8c98b5371fa0706e450.webp"> <img class="pfp" id="pfp" src="https://easyfiles.cc/2024/12/a3046d6f-a1b1-415a-8f55-8981a8e45ddb/3ccc13a2825eb8c98b5371fa0706e450.webp">
<div id="status"></div> <div class="tooltip" data-tooltip="" id="status"></div>
</div> </div>
<div data-tooltip="" class="tooltip" id="name">zyqunix</div> <div data-tooltip="" class="tooltip" id="name">zyqunix</div>
<span class="desc" id="typewriter"></span> <span class="desc" id="typewriter"></span>

View file

@ -21,4 +21,5 @@ lanyard({
nameDiv.setAttribute("data-tooltip", "No custom status"); nameDiv.setAttribute("data-tooltip", "No custom status");
} }
status.setAttribute("data-tooltip", data.discord_status);
}) })