[breaking] fix typos

This commit is contained in:
TomatoCake 2024-07-01 20:31:47 +02:00
parent 8fe0c9f46b
commit 611e58090b
15 changed files with 113 additions and 115 deletions

View file

@ -168,7 +168,7 @@ class Localuser{
break;
case "TYPING_START":
if(this.initialized){
this.typeingStart(temp);
this.typingStart(temp);
}
break;
case "USER_UPDATE":
@ -208,7 +208,7 @@ class Localuser{
const guildy=new Guild(temp.d,this,this.user);
this.guilds.push(guildy);
this.guildids[guildy.id]=guildy;
document.getElementById("servers").insertBefore(guildy.generateGuildIcon(),document.getElementById("bottomseperator"));
document.getElementById("servers").insertBefore(guildy.generateGuildIcon(),document.getElementById("bottomseparator"));
}
}
@ -351,7 +351,7 @@ class Localuser{
const br=document.createElement("hr");
br.classList.add("lightbr");
serverlist.appendChild(br);
br.id="bottomseperator";
br.id="bottomseparator";
const div=document.createElement("div");
div.textContent="+";
@ -423,7 +423,7 @@ class Localuser{
thing.unreads(this.guildhtml[thing.id]);
}
}
typeingStart(typing):void{
typingStart(typing):void{
if(this.channelfocus.id===typing.d.channel_id){
const memb=typing.d.member;
let name;
@ -517,16 +517,16 @@ class Localuser{
}
}
genusersettings():void{
const hypothetcialprofie=document.createElement("div");
const hypotheticalProfile=document.createElement("div");
let file=null;
let newprouns=null;
let newbio=null;
let hypouser=new User(this.user,this,true);
function regen(){
hypothetcialprofie.textContent="";
hypotheticalProfile.textContent="";
const hypoprofile=hypouser.buildprofile(-1,-1);
hypothetcialprofie.appendChild(hypoprofile)
hypotheticalProfile.appendChild(hypoprofile)
}
regen();
this.usersettings=new Fullscreen(
@ -573,7 +573,7 @@ class Localuser{
},Voice.sounds.indexOf(Voice.getNotificationSound())]
],
["vdiv",
["html",hypothetcialprofie]
["html",hypotheticalProfile]
]
],_=>{},function(){
console.log(this);