mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-30 17:46:21 -04:00
Adjusted instant loading for new favicon link
This commit is contained in:
@@ -168,7 +168,7 @@ export function setupInstantLoading(
|
||||
}
|
||||
|
||||
/* Hack: ensure absolute favicon link to omit 404s when switching */
|
||||
const favicon = getElement<HTMLLinkElement>("link[rel='shortcut icon']")
|
||||
const favicon = getElement<HTMLLinkElement>("link[rel=icon]")
|
||||
if (typeof favicon !== "undefined")
|
||||
favicon.href = favicon.href
|
||||
|
||||
|
||||
Reference in New Issue
Block a user