1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00

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);
}