Skip to content

Commit 56a4c1e

Browse files
committed
send full href
1 parent 6795a0d commit 56a4c1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

injected/src/features/favicon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ function getFaviconList() {
7171
"link[href][rel='apple-touch-icon-precomposed']",
7272
];
7373
const elements = document.head.querySelectorAll(selectors.join(','));
74-
return Array.from(elements).map((x) => {
75-
const href = x.getAttribute('href') || '';
74+
return Array.from(elements).map((/** @type {HTMLLinkElement} */ x) => {
75+
const href = x.href || '';
7676
const rel = x.getAttribute('rel') || '';
7777
return { href, rel };
7878
});

0 commit comments

Comments
 (0)