Merge pull request #370 from Jaxx7594/icon

fix: Favicon not showing
This commit is contained in:
Seth Burkart
2026-01-23 15:33:17 +11:00
committed by GitHub
+6 -4
View File
@@ -50,10 +50,12 @@ async function init() {
documentLoadStyle.textContent = documentLoadCSS; documentLoadStyle.textContent = documentLoadCSS;
document.head.appendChild(documentLoadStyle); document.head.appendChild(documentLoadStyle);
const icon = document.querySelector( const icons =
'link[rel*="icon"]', document.querySelectorAll<HTMLLinkElement>('link[rel*="icon"]');
)! as HTMLLinkElement;
icon.href = icon48; // Change the icon icons.forEach((link) => {
link.href = icon48;
});
try { try {
await initializeSettingsState(); await initializeSettingsState();