Fix xref bug.
Use this.xref instead of xref in fetchDestinations function.
This commit is contained in:
parent
0f4b243752
commit
5ab01e2cd0
2
pdf.js
2
pdf.js
@ -3547,7 +3547,7 @@ var Catalog = (function() {
|
|||||||
},
|
},
|
||||||
get destinations() {
|
get destinations() {
|
||||||
function fetchDestination(ref) {
|
function fetchDestination(ref) {
|
||||||
var dest = xref.fetchIfRef(ref);
|
var dest = this.xref.fetchIfRef(ref);
|
||||||
return IsDict(dest) ? dest.get('D') : dest;
|
return IsDict(dest) ? dest.get('D') : dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user