From e0e4c650f353cbfe5a7982bb39f4e393d42ef7cf Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 3 Nov 2020 18:23:26 +0100 Subject: clicking sentences in transcript advances to that sentence --- .../app/views/viewer/transcript/components/elementTypes.text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'animism-align/frontend/app/views/viewer/transcript/components') diff --git a/animism-align/frontend/app/views/viewer/transcript/components/elementTypes.text.js b/animism-align/frontend/app/views/viewer/transcript/components/elementTypes.text.js index 6b73087..4054ad0 100644 --- a/animism-align/frontend/app/views/viewer/transcript/components/elementTypes.text.js +++ b/animism-align/frontend/app/views/viewer/transcript/components/elementTypes.text.js @@ -30,7 +30,7 @@ export const Paragraph = ({ paragraph, currentParagraph, currentAnnotation, onAn onAnnotationClick(e, paragraph, firstAnnotation)} + onClick={e => onAnnotationClick(e, paragraph, annotation)} dangerouslySetInnerHTML={{ __html: ' ' + annotation.text + ' ' }} /> ) -- cgit v1.2.3-70-g09d2