From f05cd66e88bda5f0e66668d31c5d1ab6783eaee5 Mon Sep 17 00:00:00 2001 From: Jaxon Lewis-Wilson Date: Fri, 23 Jan 2026 09:27:14 +0800 Subject: [PATCH] fix: Favicon not showing --- src/SEQTA.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/SEQTA.ts b/src/SEQTA.ts index 6bbc9b7e..9d4dc8c7 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -50,10 +50,12 @@ async function init() { documentLoadStyle.textContent = documentLoadCSS; document.head.appendChild(documentLoadStyle); - const icon = document.querySelector( - 'link[rel*="icon"]', - )! as HTMLLinkElement; - icon.href = icon48; // Change the icon + const icons = + document.querySelectorAll('link[rel*="icon"]'); + + icons.forEach((link) => { + link.href = icon48; + }); try { await initializeSettingsState();