mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
+6
-4
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user