Fix bracket nit.
This commit is contained in:
parent
dddcb9c91b
commit
3154ec4e38
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user