|
|
@ -133,9 +133,8 @@ function nextTask() { |
|
|
|
nextPage(task, failure); |
|
|
|
nextPage(task, failure); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// When generating reference images in masterMode, disable range requests
|
|
|
|
PDFJS.disableRange = task.disableRange; |
|
|
|
PDFJS.disableRange = task.disableRange || masterMode; |
|
|
|
PDFJS.disableAutoFetch = !task.enableAutoFetch; |
|
|
|
PDFJS.disableAutoFetch = !task.enableAutoFetch || masterMode; |
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
var promise = PDFJS.getDocument({ |
|
|
|
var promise = PDFJS.getDocument({ |
|
|
|
url: absoluteUrl, |
|
|
|
url: absoluteUrl, |
|
|
|