diff options
author | Melissa Zhang <mzhang19096@gmail.com> | 2020-04-26 12:22:04 -0700 |
---|---|---|
committer | Melissa Zhang <mzhang19096@gmail.com> | 2020-04-26 12:22:04 -0700 |
commit | 90a129685fa9307cbda9ac009aa436681eae8cd0 (patch) | |
tree | e11a6800eca52cd4a2a30c78627558ac9529480d /src/client/views/pdf/Annotation.tsx | |
parent | fbd1f11cbd1aef4ea5fefa868662a66ab41ba62b (diff) | |
parent | 63985ba64dc4a3a94bac75a9120cd8a5ca791fec (diff) |
merge with master
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
-rw-r--r-- | src/client/views/pdf/Annotation.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx index eaf80d252..672d3adb8 100644 --- a/src/client/views/pdf/Annotation.tsx +++ b/src/client/views/pdf/Annotation.tsx @@ -98,7 +98,6 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> { else if (e.button === 0) { const annoGroup = await Cast(this.props.document.group, Doc); if (annoGroup) { - DocumentView._focusHack = []; DocumentManager.Instance.FollowLink(undefined, annoGroup, (doc, followLinkLocation) => this.props.addDocTab(doc, e.ctrlKey ? "inTab" : followLinkLocation), false, undefined); e.stopPropagation(); } |