page title & instance stats

This commit is contained in:
TomatoCake
2024-08-25 18:32:49 +02:00
parent 1de4767c6d
commit 79463edb07
3 changed files with 40 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ class Group extends Channel{
}
this.buildmessages();
history.pushState(null, "","/channels/"+this.guild_id+"/"+this.id);
(document.getElementById("channelname") as HTMLElement).textContent="@"+this.name;
this.localuser.pageTitle("@"+this.name);
(document.getElementById("channelTopic") as HTMLElement).setAttribute("hidden","");
(document.getElementById("typebox") as HTMLDivElement).contentEditable=""+true;
}