This one is not Tomato fork
This commit is contained in:
parent
149236da82
commit
43a4a27127
2 changed files with 2 additions and 2 deletions
|
@ -1450,7 +1450,7 @@ class Localuser {
|
||||||
}
|
}
|
||||||
pageTitle(channelName = "", guildName = "") {
|
pageTitle(channelName = "", guildName = "") {
|
||||||
document.getElementById("channelname").textContent = channelName;
|
document.getElementById("channelname").textContent = channelName;
|
||||||
document.getElementsByTagName("title")[0].textContent = channelName + (guildName ? " | " + guildName : "") + " | " + this.instancePing.name + " | Jank Client (Tomato fork)";
|
document.getElementsByTagName("title")[0].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", {
|
||||||
|
|
|
@ -1456,7 +1456,7 @@ class Localuser{
|
||||||
}
|
}
|
||||||
pageTitle(channelName = "", guildName = ""){
|
pageTitle(channelName = "", guildName = ""){
|
||||||
(document.getElementById("channelname") as HTMLSpanElement).textContent = channelName;
|
(document.getElementById("channelname") as HTMLSpanElement).textContent = channelName;
|
||||||
(document.getElementsByTagName("title")[0] as HTMLTitleElement).textContent = channelName + (guildName ? " | " + guildName : "") + " | " + this.instancePing.name + " | Jank Client (Tomato fork)";
|
(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", {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue