mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +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();
|
failure = 'load PDF doc : ' + e.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
task.pageNum = 1, nextPage(task, failure);
|
task.pageNum = task.firstPage || 1, nextPage(task, failure);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
r.send(null);
|
r.send(null);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue