Skip to content

Commit 8a9ec47

Browse files
committed
try again
1 parent ae1859d commit 8a9ec47

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pdf2htmlEX/share/pdf2htmlEX.js.in

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,14 @@ Viewer.prototype = {
343343
var image = images[i];
344344
image.addEventListener('error', function() {
345345
setTimeout(function() {
346-
image.src = image.src;
346+
tmp = image.src;
347+
image.src = '';
348+
image.src = tmp;
347349
}, 1000);
348350
});
349-
image.src = image.src;
351+
tmp = image.src;
352+
image.src = '';
353+
image.src = tmp;
350354
}
351355
}
352356
},

0 commit comments

Comments
 (0)