forked from nin0/website
explode
This commit is contained in:
parent
56eb9e3f0d
commit
ef815cc443
6 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -53,7 +53,7 @@ function onUpdate(data) {
|
|||
});
|
||||
document.getElementById("presence").style.display = content == "" ? "none": "flex"
|
||||
document.getElementById("presence-content").innerText = content
|
||||
document.getElementById("presence-icon").src = listening ? "music.png" : "game.png"
|
||||
document.getElementById("presence-icon").src = listening ? "music.ico" : "game.ico"
|
||||
}
|
||||
LanyardWrapper.connectWebSocket("886685857560539176", onUpdate)
|
||||
.catch(err => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue