Skip to content

Commit

Permalink
Add missing flag determining if annotation was exported from Zotero
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Jun 29, 2023
1 parent 279cff4 commit 3ce5891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ class Annotation {
hasOwnCanvas: false,
noRotate: !!(this.flags & AnnotationFlag.NOROTATE),
noHTML: isLocked && isContentLocked,
isZotero: (dict.get("NM") || '').startsWith('Zotero-') || dict.get("Zotero:Key"),
};

if (params.collectFields) {
Expand Down

0 comments on commit 3ce5891

Please sign in to comment.