aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Annotation.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-10-26 15:35:56 -0400
committeryipstanley <stanley_yip@brown.edu>2019-10-26 15:35:56 -0400
commit24031b32402f19932d293bdc3eb483235cff820a (patch)
treeab1cb93f50eafeb1a4cf07e588aed971700c96b5 /src/client/views/pdf/Annotation.tsx
parent3cff8e7d101a528e392d885420de118cccca6ae5 (diff)
parent2786a2e4b33ff874f320697b89fecec3105df201 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into interaction_stanley
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
-rw-r--r--src/client/views/pdf/Annotation.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index ad6240c70..2d8f47666 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -100,8 +100,9 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> {
let annoGroup = await Cast(this.props.document.group, Doc);
if (annoGroup) {
DocumentManager.Instance.FollowLink(undefined, annoGroup,
- (doc: Doc, maxLocation: string) => this.props.addDocTab(doc, undefined, e.ctrlKey ? "onRight" : "inTab"),
+ (doc: Doc, maxLocation: string) => this.props.addDocTab(doc, undefined, e.ctrlKey ? "inTab" : "onRight"),
false, false, undefined);
+ e.stopPropagation();
}
}
}