mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
fix: Favicon not showing
This commit is contained in:
+6
-4
@@ -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<HTMLLinkElement>('link[rel*="icon"]');
|
||||
|
||||
icons.forEach((link) => {
|
||||
link.href = icon48;
|
||||
});
|
||||
|
||||
try {
|
||||
await initializeSettingsState();
|
||||
|
||||
Reference in New Issue
Block a user