From 3b0adaf902920a06efc141df58abd0368bd724b6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 21 Oct 2020 17:41:10 +0200 Subject: fullscreen text --- .../frontend/app/views/align/components/annotations/annotation.index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'animism-align/frontend/app/views/align/components/annotations/annotation.index.js') 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) -- cgit v1.2.3-70-g09d2