1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

fix typo xhr onprogress

This commit is contained in:
Muhammad Fikri 2011-10-05 19:29:03 +07:00
parent e5d79fd0da
commit a373baeff5

2
pdf.js
View file

@ -127,7 +127,7 @@ function getPdf(arg, callback) {
xhr.expected = (document.URL.indexOf('file:') === 0) ? 0 : 200;
if ('progress' in params)
xhr.onprogrss = params.progress || undefined;
xhr.onprogress = params.progress || undefined;
if ('error' in params)
xhr.onerror = params.error || undefined;