aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-04 23:51:20 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-04 23:51:20 -0400
commit89a8ec9a899dc991a598f97ff5cb3a67eff640ac (patch)
tree818f42580a46c37f1589c92f4dd5cd3a22f9cdda /src
parentd611773fc805082a935cae49723d516ce66e1a14 (diff)
from last
Diffstat (limited to 'src')
-rw-r--r--src/client/views/pdf/Annotation.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index 4bb166ffe..5a07b88d9 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -94,6 +94,7 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> {
PDFMenu.Instance.AddTag = this.addTag.bind(this);
PDFMenu.Instance.PinToPres = this.pinToPres;
PDFMenu.Instance.jumpTo(e.clientX, e.clientY, true);
+ e.stopPropagation();
}
else if (e.button === 0) {
let annoGroup = await Cast(this.props.document.group, Doc);
@@ -105,6 +106,7 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> {
}
}
+
addTag = (key: string, value: string): boolean => {
let group = FieldValue(Cast(this.props.document.group, Doc));
if (group) {