Move the disableStream option from the global PDFJS object and into getDocument instead

This commit is contained in:
Jonas Jenwald 2018-02-17 22:28:08 +01:00
parent b69abf1111
commit 05c05bdef5
5 changed files with 15 additions and 14 deletions

View file

@ -336,8 +336,6 @@ function getDefaultSetting(id) {
switch (id) {
case 'pdfBug':
return globalSettings ? globalSettings.pdfBug : false;
case 'disableStream':
return globalSettings ? globalSettings.disableStream : false;
case 'disableCreateObjectURL':
return globalSettings ? globalSettings.disableCreateObjectURL : false;
default: