We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6795a0d commit 56a4c1eCopy full SHA for 56a4c1e
injected/src/features/favicon.js
@@ -71,8 +71,8 @@ function getFaviconList() {
71
"link[href][rel='apple-touch-icon-precomposed']",
72
];
73
const elements = document.head.querySelectorAll(selectors.join(','));
74
- return Array.from(elements).map((x) => {
75
- const href = x.getAttribute('href') || '';
+ return Array.from(elements).map((/** @type {HTMLLinkElement} */ x) => {
+ const href = x.href || '';
76
const rel = x.getAttribute('rel') || '';
77
return { href, rel };
78
});
0 commit comments