mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Fix the initialization of the first page for multiple testing rounds.
This commit is contained in:
parent
b47e4b8855
commit
a2b2ecaa29
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ function nextPage(task, loadError) {
|
||||||
if (isLastPage(task)) {
|
if (isLastPage(task)) {
|
||||||
if (++task.round < task.rounds) {
|
if (++task.round < task.rounds) {
|
||||||
log(' Round ' + (1 + task.round) + '\n');
|
log(' Round ' + (1 + task.round) + '\n');
|
||||||
task.pageNum = 1;
|
task.pageNum = task.firstPage || 1;
|
||||||
} else {
|
} else {
|
||||||
++currentTaskIdx;
|
++currentTaskIdx;
|
||||||
nextTask();
|
nextTask();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue