mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-05-11 19:44:48 +00:00
don't load if no autolink
This commit is contained in:
@@ -1472,7 +1472,7 @@ class Guild extends SnowFlake {
|
||||
const img = createImg(guild.info.cdn + "/icons/" + guild.id + "/" + icon + ".png");
|
||||
img.classList.add("pfp", "servericon");
|
||||
divy.appendChild(img);
|
||||
if (guild instanceof Guild) {
|
||||
if (guild instanceof Guild && autoLink) {
|
||||
img.onclick = () => {
|
||||
console.log(guild.loadGuild);
|
||||
guild.loadGuild();
|
||||
|
||||
Reference in New Issue
Block a user