mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #2836 from sgtatham/master
Fix handling of inline annotation dictionaries
This commit is contained in:
commit
c001aecddc
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ var Page = (function PageClosure() {
|
|||
var items = [];
|
||||
for (i = 0; i < n; ++i) {
|
||||
var annotationRef = annotations[i];
|
||||
var annotation = xref.fetch(annotationRef);
|
||||
var annotation = xref.fetchIfRef(annotationRef);
|
||||
if (!isDict(annotation))
|
||||
continue;
|
||||
var subtype = annotation.get('Subtype');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue