1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-21 07:38:07 +02:00

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

Fixes 6361.
This commit is contained in:
Jonas Jenwald 2015-08-18 12:35:42 +02:00
parent 421289c7bc
commit a6d10af3b4

View file

@ -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;
}),