From f8482d4671128890885fc59cd8ae27f35d62a0cb Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 1 Oct 2025 17:50:57 -0500 Subject: [PATCH] don't load if no autolink --- src/webpage/guild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpage/guild.ts b/src/webpage/guild.ts index 3904746..32b90a9 100644 --- a/src/webpage/guild.ts +++ b/src/webpage/guild.ts @@ -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();