]> git.parisson.com Git - pdf.js.git/commitdiff
fix typo xhr onprogress
authorMuhammad Fikri <fikswznd@gmail.com>
Wed, 5 Oct 2011 12:29:03 +0000 (19:29 +0700)
committerMuhammad Fikri <fikswznd@gmail.com>
Wed, 5 Oct 2011 12:29:03 +0000 (19:29 +0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 1aa1f3e60c3d04c5437eaad69ae329e3759e55f3..5ea0de0fc5d40bedcd80b9160c292250c0b3d1b5 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -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;