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
@ -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…
Reference in New Issue
Block a user