mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +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
|
documentLoadStyle.textContent = documentLoadCSS
|
||||||
document.head.appendChild(documentLoadStyle)
|
document.head.appendChild(documentLoadStyle)
|
||||||
|
|
||||||
|
const icon = document.querySelector('link[rel*="icon"]')! as HTMLLinkElement
|
||||||
|
icon.href = icon48
|
||||||
|
|
||||||
enableCurrentTheme()
|
enableCurrentTheme()
|
||||||
try {
|
try {
|
||||||
@@ -1950,9 +1952,6 @@ export async function loadHomePage() {
|
|||||||
main!.innerHTML = ''
|
main!.innerHTML = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
const icon = document.querySelector('link[rel*="icon"]')! as HTMLLinkElement
|
|
||||||
icon.href = icon48
|
|
||||||
|
|
||||||
currentSelectedDate = new Date()
|
currentSelectedDate = new Date()
|
||||||
|
|
||||||
// Creates the root of the home page added to the main div
|
// Creates the root of the home page added to the main div
|
||||||
|
|||||||
Reference in New Issue
Block a user