]> git.parisson.com Git - pdf.js.git/commitdiff
Properly fix the previous commit.
authorgigaherz <gigaherz@gmail.com>
Mon, 31 Oct 2011 20:18:41 +0000 (21:18 +0100)
committergigaherz <gigaherz@gmail.com>
Mon, 31 Oct 2011 20:18:41 +0000 (21:18 +0100)
extensions/firefox/components/pdfContentHandler.js

index 5f659bd9c573e58a96837fe05a1433e4903dcacc..444db1c1ffcc1c77cf2c587b30a50087458ba30e 100644 (file)
@@ -55,7 +55,6 @@ pdfContentHandler.prototype = {
     if (targetUrl.indexOf('?pdfjs.action=download') >= 0)
       throw NS_ERROR_WONT_HANDLE_CONTENT;
 
-    aRequest.cancel(Cr.NS_BINDING_ABORTED);
     aRequest.cancel(Cr.NS_BINDING_ABORTED);
     window.location = url.replace('%s', encodeURIComponent(targetUrl));
   },