mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Simplify getting the pdf url.
This commit is contained in:
parent
2e130903ef
commit
c2bdd7b295
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ var RangedChromeActions = (function RangedChromeActionsClosure() {
|
||||||
|
|
||||||
ChromeActions.call(this, domWindow, contentDispositionFilename);
|
ChromeActions.call(this, domWindow, contentDispositionFilename);
|
||||||
|
|
||||||
this.pdfUrl = originalRequest.URI.resolve('');
|
this.pdfUrl = originalRequest.URI.spec;
|
||||||
this.contentLength = originalRequest.contentLength;
|
this.contentLength = originalRequest.contentLength;
|
||||||
|
|
||||||
// Pass all the headers from the original request through
|
// Pass all the headers from the original request through
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue