Merge branch 'main', commit 'refs/pull/59/head' of https://github.com/MathMan05/JankClient

This commit is contained in:
MathMan05 2024-09-13 20:00:08 -05:00
commit 4b0bf6bb59
5 changed files with 5 additions and 6 deletions

View file

@ -104,7 +104,7 @@ class Emoji {
res = r;
});
const menu = document.createElement("div");
menu.classList.add("flextttb", "emojiPicker");
menu.classList.add("flexttb", "emojiPicker");
menu.style.top = y + "px";
menu.style.left = x + "px";
const title = document.createElement("h2");

View file

@ -1450,7 +1450,7 @@ class Localuser {
}
pageTitle(channelName = "", guildName = "") {
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() {
const res = await fetch(this.info.api + "/policies/stats", {