forgot another shadowing
This commit is contained in:
parent
a4c5b6095b
commit
f4bb211283
4
pdf.js
4
pdf.js
@ -2002,8 +2002,8 @@ var PDFDoc = (function() {
|
||||
var num = linearization
|
||||
? linearization.numPages
|
||||
: this.catalog.numPages;
|
||||
// overwrite the prototype getter
|
||||
return this.numPages = num;
|
||||
// shadow the prototype getter
|
||||
return shadow(this, "numPages", num);
|
||||
},
|
||||
getPage: function(n) {
|
||||
var linearization = this.linearization;
|
||||
|
Loading…
Reference in New Issue
Block a user