Fix xref bug.

Use this.xref instead of xref in fetchDestinations function.
This commit is contained in:
Kalervo Kujala 2011-09-03 21:41:50 +03:00
parent 0f4b243752
commit 5ab01e2cd0

2
pdf.js
View File

@ -3547,7 +3547,7 @@ var Catalog = (function() {
},
get destinations() {
function fetchDestination(ref) {
var dest = xref.fetchIfRef(ref);
var dest = this.xref.fetchIfRef(ref);
return IsDict(dest) ? dest.get('D') : dest;
}