diff --git a/pdf.js b/pdf.js index 5a193fe89..37afdc376 100644 --- a/pdf.js +++ b/pdf.js @@ -3379,7 +3379,7 @@ var Page = (function() { } catch (e) { exc = e.toString(); } - continuation(exc); + if (continuation) continuation(exc); }); };