diff --git a/src/js/print.js b/src/js/print.js index 636eb17..b2b99a6 100644 --- a/src/js/print.js +++ b/src/js/print.js @@ -80,7 +80,7 @@ function loadIframeImages (images) { function loadIframeImage (image) { return new Promise(resolve => { const pollImage = () => { - !image || typeof image.naturalWidth === 'undefined' || image.naturalWidth === 0 || !image.complete + (!image || !image.complete) && (typeof image.naturalWidth === 'undefined' || image.naturalWidth === 0) ? setTimeout(pollImage, 500) : resolve() }