always expose data.title and data.content
This commit is contained in:
parent
45fea8808e
commit
266cedd960
@ -673,12 +673,8 @@ var TextAnnotation = (function TextAnnotationClosure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.data.hasPopup = dict.has('Popup');
|
this.data.hasPopup = dict.has('Popup');
|
||||||
if (!this.data.hasPopup) {
|
this.data.title = stringToPDFString(dict.get('T') || '');
|
||||||
// There is no associated Popup annotation, so the Text annotation
|
this.data.contents = stringToPDFString(dict.get('Contents') || '');
|
||||||
// must create its own popup.
|
|
||||||
this.data.title = stringToPDFString(dict.get('T') || '');
|
|
||||||
this.data.contents = stringToPDFString(dict.get('Contents') || '');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Util.inherit(TextAnnotation, Annotation, {});
|
Util.inherit(TextAnnotation, Annotation, {});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user