Merge pull request #386 from notmasteryet/bookmarks2
bookmark fix for intelasa.pdf
This commit is contained in:
commit
a473992cc9
3
pdf.js
3
pdf.js
@ -3418,7 +3418,8 @@ var Page = (function() {
|
|||||||
}
|
}
|
||||||
} else if (annotation.has('Dest')) {
|
} else if (annotation.has('Dest')) {
|
||||||
// simple destination link
|
// simple destination link
|
||||||
link.dest = annotation.get('Dest').name;
|
var dest = annotation.get('Dest');
|
||||||
|
link.dest = IsName(dest) ? dest.name : dest;
|
||||||
}
|
}
|
||||||
links.push(link);
|
links.push(link);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user