1
0
Fork 0
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:
Julian Viereck 2011-10-08 17:08:17 +02:00
parent 8929e6b349
commit 23e413520b
4 changed files with 27 additions and 2 deletions

View file

@ -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;