Browse Source

Add `disableStream` to the list of preferences read by `PDFViewerApplication.initialize` (issue 6361)

Fixes 6361.
Jonas Jenwald 10 years ago
parent
commit
a6d10af3b4
  1. 6
      web/viewer.js

6
web/viewer.js

@ -271,6 +271,12 @@ var PDFViewerApplication = { @@ -271,6 +271,12 @@ var PDFViewerApplication = {
}
PDFJS.disableRange = value;
}),
Preferences.get('disableStream').then(function resolved(value) {
if (PDFJS.disableStream === true) {
return;
}
PDFJS.disableStream = value;
}),
Preferences.get('disableAutoFetch').then(function resolved(value) {
PDFJS.disableAutoFetch = value;
}),

Loading…
Cancel
Save