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:
commit
a473992cc9
1 changed files with 2 additions and 1 deletions
3
pdf.js
3
pdf.js
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue