mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
fix: icon only chnging on seqta pages
This commit is contained in:
+2
-3
@@ -56,6 +56,8 @@ async function init() {
|
||||
documentLoadStyle.textContent = documentLoadCSS
|
||||
document.head.appendChild(documentLoadStyle)
|
||||
|
||||
const icon = document.querySelector('link[rel*="icon"]')! as HTMLLinkElement
|
||||
icon.href = icon48
|
||||
|
||||
enableCurrentTheme()
|
||||
try {
|
||||
@@ -1950,9 +1952,6 @@ export async function loadHomePage() {
|
||||
main!.innerHTML = ''
|
||||
}
|
||||
|
||||
const icon = document.querySelector('link[rel*="icon"]')! as HTMLLinkElement
|
||||
icon.href = icon48
|
||||
|
||||
currentSelectedDate = new Date()
|
||||
|
||||
// Creates the root of the home page added to the main div
|
||||
|
||||
Reference in New Issue
Block a user