skip empty applies-to values
This commit is contained in:
parent
c7870ee2d1
commit
363b8a7bf1
|
@ -331,6 +331,7 @@ function getFaviconImgSrc(container = installed) {
|
|||
for (const target of targets) {
|
||||
const type = target.dataset.type;
|
||||
const targetValue = target.textContent;
|
||||
if (!targetValue) continue;
|
||||
let favicon = '';
|
||||
if (type === 'domains') {
|
||||
favicon = GET_FAVICON_URL + targetValue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user