Browse Source

Properly fix the previous commit.

gigaherz 14 years ago
parent
commit
2d8b0f7677
  1. 1
      extensions/firefox/components/pdfContentHandler.js

1
extensions/firefox/components/pdfContentHandler.js

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

Loading…
Cancel
Save