make guild icons update

This commit is contained in:
MathMan05 2025-03-15 14:55:23 -05:00
parent a2a53e5c88
commit cf820653ee
3 changed files with 14 additions and 4 deletions

View file

@ -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);
}
{