We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6410366 commit ae1859dCopy full SHA for ae1859d
pdf2htmlEX/share/pdf2htmlEX.js.in
@@ -340,12 +340,13 @@ Viewer.prototype = {
340
// deal with image reloading
341
var images = document.getElementsByTagName('img');
342
for (var i = 0; i < images.length; i++) {
343
- images[i].addEventListener('error', function() {
+ var image = images[i];
344
+ image.addEventListener('error', function() {
345
setTimeout(function() {
- images[i].src = images[i].src;
346
+ image.src = image.src;
347
}, 1000);
348
});
349
350
}
351
352
},
0 commit comments