From a373baeff5cd95746a1ccd143c191fc362a7e103 Mon Sep 17 00:00:00 2001
From: Muhammad Fikri <fikswznd@gmail.com>
Date: Wed, 5 Oct 2011 19:29:03 +0700
Subject: [PATCH] fix typo xhr onprogress

---
 pdf.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pdf.js b/pdf.js
index 1aa1f3e60..5ea0de0fc 100644
--- 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;