Merge pull request #386 from notmasteryet/bookmarks2

bookmark fix for intelasa.pdf
This commit is contained in:
Andreas Gal 2011-08-25 19:12:20 -07:00
commit a473992cc9

3
pdf.js
View File

@ -3418,7 +3418,8 @@ var Page = (function() {
}
} else if (annotation.has('Dest')) {
// simple destination link
link.dest = annotation.get('Dest').name;
var dest = annotation.get('Dest');
link.dest = IsName(dest) ? dest.name : dest;
}
links.push(link);
}