Remove realtime status updates
This commit is contained in:
parent
aafd533803
commit
2d1df01fcf
1 changed files with 5 additions and 5 deletions
|
@ -176,11 +176,11 @@ function socketeer() {
|
|||
resetPFP()
|
||||
}
|
||||
|
||||
if (lanyard.activities[0] && lanyard.activities[0].type == 4) {
|
||||
document.querySelector(".customStatus").innerHTML = `<hr><p>${lanyard.activities[0].state}</p>`
|
||||
} else {
|
||||
document.querySelector(".customStatus").innerHTML = ""
|
||||
}
|
||||
// if (lanyard.activities[0] && lanyard.activities[0].type == 4) {
|
||||
// document.querySelector(".customStatus").innerHTML = `<hr><img src=""><p>${lanyard.activities[0].state}</p>`
|
||||
// } else {
|
||||
// document.querySelector(".customStatus").innerHTML = ""
|
||||
// }
|
||||
|
||||
var discFetch = await (await fetch("/discHTML")).text()
|
||||
document.querySelector("#activityHtml").innerHTML = discFetch
|
||||
|
|
Loading…
Reference in a new issue