mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #8678 from Snuffleupagus/fix-Catalog-numPages-shadow
Fix a typo, in the `Catalog.numPages` getter, than prevents shadowing from working correctly
This commit is contained in:
commit
09f04eccda
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ var Catalog = (function CatalogClosure() {
|
|||
'page count in top level pages object is not an integer'
|
||||
);
|
||||
// shadow the prototype getter
|
||||
return shadow(this, 'num', obj);
|
||||
return shadow(this, 'numPages', obj);
|
||||
},
|
||||
get destinations() {
|
||||
function fetchDestination(dest) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue