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 8a9ec47 commit 939f6daCopy full SHA for 939f6da
pdf2htmlEX/share/pdf2htmlEX.js.in
@@ -337,18 +337,18 @@ Viewer.prototype = {
337
this.render();
338
339
{
340
- // deal with image reloading
+ // deal with delayed image loading
341
var images = document.getElementsByTagName('img');
342
for (var i = 0; i < images.length; i++) {
343
var image = images[i];
344
image.addEventListener('error', function() {
345
setTimeout(function() {
346
- tmp = image.src;
+ var tmp = image.src;
347
image.src = '';
348
image.src = tmp;
349
}, 1000);
350
});
351
352
353
354
}
0 commit comments