mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Allow relative URLs in getDocument
This commit is contained in:
parent
b3a603c199
commit
af4bd10c70
3 changed files with 12 additions and 3 deletions
|
@ -78,7 +78,6 @@ function combineUrl(baseUrl, url) {
|
|||
return baseUrl.substring(0, prefixLength + 1) + url;
|
||||
}
|
||||
}
|
||||
PDFJS.combineUrl = combineUrl;
|
||||
|
||||
// In a well-formed PDF, |cond| holds. If it doesn't, subsequent
|
||||
// behavior is undefined.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue