mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #6362 from Snuffleupagus/issue-6361
Add `disableStream` to the list of preferences read by `PDFViewerApplication.initialize` (issue 6361)
This commit is contained in:
commit
b2ad0bab70
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue