From 3154ec4e38796c38fd27848dbd13447b463f508c Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Wed, 4 Jan 2012 17:22:07 -0800 Subject: [PATCH] Fix bracket nit. --- src/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.js b/src/core.js index f262cde45..4cc5984e2 100644 --- a/src/core.js +++ b/src/core.js @@ -730,8 +730,8 @@ var PDFDoc = (function PDFDocClosure() { messageHandler.on('page_error', function pdfDocError(data) { var page = this.pageCache[data.pageNum]; - if (page.displayReadyPromise) { - page.displayReadyPromise.reject(data.error);} + if (page.displayReadyPromise) + page.displayReadyPromise.reject(data.error); else throw data.error; }, this);