From: gigaherz Date: Mon, 31 Oct 2011 20:18:41 +0000 (+0100) Subject: Properly fix the previous commit. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2d8b0f767752f70568d35afa30c4f3d1b0205030;p=pdf.js.git Properly fix the previous commit. --- diff --git a/extensions/firefox/components/pdfContentHandler.js b/extensions/firefox/components/pdfContentHandler.js index 5f659bd..444db1c 100644 --- a/extensions/firefox/components/pdfContentHandler.js +++ b/extensions/firefox/components/pdfContentHandler.js @@ -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)); },