Fix bracket nit.

This commit is contained in:
Brendan Dahl 2012-01-04 17:22:07 -08:00
parent dddcb9c91b
commit 3154ec4e38

View File

@ -730,8 +730,8 @@ var PDFDoc = (function PDFDocClosure() {
messageHandler.on('page_error', function pdfDocError(data) { messageHandler.on('page_error', function pdfDocError(data) {
var page = this.pageCache[data.pageNum]; var page = this.pageCache[data.pageNum];
if (page.displayReadyPromise) { if (page.displayReadyPromise)
page.displayReadyPromise.reject(data.error);} page.displayReadyPromise.reject(data.error);
else else
throw data.error; throw data.error;
}, this); }, this);