We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
images.map is not a function
1 parent 847687d commit 4780a4eCopy full SHA for 4780a4e
1 file changed
src/js/print.js
@@ -37,7 +37,7 @@ const Print = {
37
const images = printDocument.getElementsByTagName('img')
38
39
if (images.length > 0) {
40
- loadIframeImages(images).then(() => performPrint(iframeElement, params))
+ loadIframeImages(Array.from(images)).then(() => performPrint(iframeElement, params))
41
} else {
42
performPrint(iframeElement, params)
43
}
0 commit comments