From 5587cce165217479ba5a1af00c5b10fda2dedbbe Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Wed, 14 Sep 2011 11:59:20 -0700 Subject: [PATCH] Check for continuation callback --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); };