Skip to content

Commit 5114984

Browse files
committed
try tmp again
1 parent c1bb81c commit 5114984

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
@@ -346,12 +346,16 @@ Viewer.prototype = {
346346
console.debug('image load error, retry in 1s', image);
347347
setTimeout(function() {
348348
console.debug('retrying image load', image);
349-
image.src = image.src;
349+
var tmp = image.src;
350+
image.src = '';
351+
image.src = tmp;
350352
}, 1000);
351353
});
352354
})(image);
353355
console.debug('image reload', image);
354-
image.src = image.src;
356+
var tmp = image.src;
357+
image.src = '';
358+
image.src = tmp;
355359
}
356360
}
357361
},

0 commit comments

Comments
 (0)