mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
Properly fix the previous commit.
This commit is contained in:
parent
0d02ab5098
commit
2d8b0f7677
1 changed files with 0 additions and 1 deletions
|
@ -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));
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue