1
0
Fork 0
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:
Brendan Dahl 2011-12-01 09:11:33 -08:00
parent cddb106358
commit 3ae06c96ad
3 changed files with 4 additions and 3 deletions

View file

@ -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);
}
}