mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Add firstPage option to tasks to speed up testing certain pages
This commit is contained in:
parent
06cef910fb
commit
8f21f87fd9
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ function nextTask() {
|
|||
failure = 'load PDF doc : ' + e.toString();
|
||||
}
|
||||
|
||||
task.pageNum = 1, nextPage(task, failure);
|
||||
task.pageNum = task.firstPage || 1, nextPage(task, failure);
|
||||
}
|
||||
};
|
||||
r.send(null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue