friend and more update

This commit is contained in:
MathMan05
2024-11-26 22:30:04 -06:00
parent e24afe2abe
commit 2502d8f977
13 changed files with 491 additions and 79 deletions

View File

@@ -626,7 +626,7 @@ class Guild extends SnowFlake{
if(addstate){
history.pushState([this.id,undefined], "", "/channels/" + this.id);
}
this.localuser.pageTitle("Weird spot");
this.localuser.pageTitle(I18n.getTranslation("guild.emptytitle"));
const channelTopic = document.getElementById("channelTopic") as HTMLSpanElement;
channelTopic.setAttribute("hidden", "");
@@ -640,7 +640,7 @@ class Guild extends SnowFlake{
}
const h1=document.createElement("h1");
h1.classList.add("messagecontainer")
h1.textContent="You're in a weird spot, this guild has no channels";
h1.textContent=I18n.getTranslation("guild.emptytext");
messages.append(h1);
}
loadGuild(){