make guild icons update
This commit is contained in:
parent
a2a53e5c88
commit
cf820653ee
3 changed files with 14 additions and 4 deletions
|
@ -490,8 +490,10 @@ class Localuser {
|
|||
const guildy = new Guild(temp.d, this, this.user);
|
||||
this.guilds.push(guildy);
|
||||
this.guildids.set(guildy.id, guildy);
|
||||
const divy = guildy.generateGuildIcon();
|
||||
guildy.HTMLicon = divy;
|
||||
(document.getElementById("servers") as HTMLDivElement).insertBefore(
|
||||
guildy.generateGuildIcon(),
|
||||
divy,
|
||||
document.getElementById("bottomseparator"),
|
||||
);
|
||||
})();
|
||||
|
@ -966,6 +968,7 @@ class Localuser {
|
|||
continue;
|
||||
}
|
||||
const divy = thing.generateGuildIcon();
|
||||
thing.HTMLicon = divy;
|
||||
serverlist.append(divy);
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue