Compare commits
3
Commits
82d384bd1f
...
2ee4bb9f26
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ee4bb9f26 | ||
|
|
4bc747201f | ||
|
|
a5f1efa7cc |
@@ -944,7 +944,7 @@
|
||||
const children = [];
|
||||
const imageCandidates = getElementImageCandidates(element);
|
||||
const currentSrc = imageCandidates[0] || null;
|
||||
const backgroundUrls = extractStyleImageUrls(styles);
|
||||
let backgroundUrls = extractStyleImageUrls(styles);
|
||||
|
||||
if (/^(IMG|VIDEO|SOURCE|PICTURE)$/i.test(element.tagName)) {
|
||||
for (const url of imageCandidates) {
|
||||
|
||||
Reference in New Issue
Block a user