Merge pull request #2836 from sgtatham/master
Fix handling of inline annotation dictionaries
This commit is contained in:
commit
c001aecddc
@ -261,7 +261,7 @@ var Page = (function PageClosure() {
|
|||||||
var items = [];
|
var items = [];
|
||||||
for (i = 0; i < n; ++i) {
|
for (i = 0; i < n; ++i) {
|
||||||
var annotationRef = annotations[i];
|
var annotationRef = annotations[i];
|
||||||
var annotation = xref.fetch(annotationRef);
|
var annotation = xref.fetchIfRef(annotationRef);
|
||||||
if (!isDict(annotation))
|
if (!isDict(annotation))
|
||||||
continue;
|
continue;
|
||||||
var subtype = annotation.get('Subtype');
|
var subtype = annotation.get('Subtype');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user