mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Small fixes + docs
This commit is contained in:
parent
8929e6b349
commit
23e413520b
4 changed files with 27 additions and 2 deletions
|
@ -181,7 +181,7 @@ var PDFView = {
|
|||
while (container.hasChildNodes())
|
||||
container.removeChild(container.lastChild);
|
||||
|
||||
var pdf = new WorkerPDFDoc(data);
|
||||
var pdf = new PDFDoc(data);
|
||||
var pagesCount = pdf.numPages;
|
||||
document.getElementById('numPages').innerHTML = pagesCount;
|
||||
document.getElementById('pageNumber').max = pagesCount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue