mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 14:30:31 +02:00
random css changes
This commit is contained in:
parent
4fe7a03796
commit
148ce28c45
3 changed files with 20 additions and 6 deletions
|
@ -12,14 +12,10 @@ lanyard({
|
|||
offline: "#80848e"
|
||||
};
|
||||
|
||||
const borderColor = statusColors[data.discord_status] || offline;
|
||||
status.style.background = `${borderColor}`;
|
||||
|
||||
if (customStatus) {
|
||||
nameDiv.setAttribute("data-tooltip", customStatus.state);
|
||||
} else {
|
||||
nameDiv.setAttribute("data-tooltip", "No custom status");
|
||||
}
|
||||
|
||||
status.setAttribute("data-tooltip", data.discord_status);
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue