This one is not Tomato fork

This commit is contained in:
ygg2 2024-09-11 19:31:53 -04:00
parent 149236da82
commit 43a4a27127
2 changed files with 2 additions and 2 deletions

View file

@ -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", {

View file

@ -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", {