mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Move the maxImageSize
option from the global PDFJS
object and into getDocument
instead
This commit is contained in:
parent
b0956a5d91
commit
b674409397
6 changed files with 21 additions and 17 deletions
|
@ -349,8 +349,6 @@ function getDefaultSetting(id) {
|
|||
return globalSettings ? globalSettings.cMapUrl : null;
|
||||
case 'cMapPacked':
|
||||
return globalSettings ? globalSettings.cMapPacked : false;
|
||||
case 'maxImageSize':
|
||||
return globalSettings ? globalSettings.maxImageSize : -1;
|
||||
case 'isEvalSupported':
|
||||
return globalSettings ? globalSettings.isEvalSupported : true;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue