summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/align/components/annotations/annotation.index.js')
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotation.index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotation.index.js b/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
index b42f1ee..8e1fa43 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
@@ -43,6 +43,7 @@ class AnnotationIndex extends PureComponent {
}
handleClick(e, annotation) {
e.stopPropagation()
+ if (!annotation) return
if (e.shiftKey) {
e.preventDefault()
this.handleParagraphSelection(annotation, e.metaKey)