|
|
@@ -158,7 +158,7 @@ this.docHelper = this.docHelper || (() => {
|
|
|
function getImageData(doc, options) {
|
|
|
if (doc) {
|
|
|
const data = [];
|
|
|
- doc.querySelectorAll("img[src]:not([srcset])").forEach((imageElement, imageElementIndex) => {
|
|
|
+ doc.querySelectorAll("img[src]").forEach((imageElement, imageElementIndex) => {
|
|
|
imageElement.setAttribute(imagesAttributeName(options.sessionId), imageElementIndex);
|
|
|
let imageData;
|
|
|
if (imageElement.src) {
|
|
|
@@ -185,7 +185,7 @@ this.docHelper = this.docHelper || (() => {
|
|
|
};
|
|
|
}
|
|
|
data.push(imageData);
|
|
|
- });
|
|
|
+ });
|
|
|
return data;
|
|
|
}
|
|
|
}
|