index fixes
This commit is contained in:
@@ -1789,16 +1789,8 @@ class Localuser{
|
|||||||
this.pageTitle("Loading...");
|
this.pageTitle("Loading...");
|
||||||
}
|
}
|
||||||
pageTitle(channelName = "", guildName = ""){
|
pageTitle(channelName = "", guildName = ""){
|
||||||
(document.getElementById("channelname") as HTMLSpanElement).textContent =
|
(document.getElementById("channelname") as HTMLSpanElement).textContent = channelName;
|
||||||
channelName;
|
(document.getElementsByTagName("title")[0] as HTMLTitleElement).textContent = channelName + (guildName ? " | " + guildName : "") + " | " + this.instancePing.name +" | Jank Client";
|
||||||
(
|
|
||||||
document.getElementsByTagName("title")[0] as HTMLTitleElement
|
|
||||||
).textContent =
|
|
||||||
channelName +
|
|
||||||
(guildName ? " | " + guildName : "") +
|
|
||||||
" | " +
|
|
||||||
this.instancePing.name +
|
|
||||||
" | Jank Client";
|
|
||||||
}
|
}
|
||||||
async instanceStats(){
|
async instanceStats(){
|
||||||
const res = await fetch(this.info.api + "/policies/stats", {
|
const res = await fetch(this.info.api + "/policies/stats", {
|
||||||
|
Reference in New Issue
Block a user