mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Address Yury's comments.
This commit is contained in:
parent
cddb106358
commit
3ae06c96ad
3 changed files with 4 additions and 3 deletions
|
@ -45,7 +45,7 @@ function getPdf(arg, callback) {
|
|||
var data = (xhr.mozResponseArrayBuffer || xhr.mozResponse ||
|
||||
xhr.responseArrayBuffer || xhr.response);
|
||||
callback(data);
|
||||
} else {
|
||||
} else if (params.error) {
|
||||
params.error(e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue