This one is not Tomato fork
This commit is contained in:
@@ -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", {
|
||||||
|
Reference in New Issue
Block a user