diff --git a/app/components/SimpleEditor/panes/Comments/CommentBoxList.js b/app/components/SimpleEditor/panes/Comments/CommentBoxList.js index d520a5d41a2e4a66d073321a358be8eb9c2b3c24..2e50088d71f1cb3fb7eba9e2abb729162b199253 100644 --- a/app/components/SimpleEditor/panes/Comments/CommentBoxList.js +++ b/app/components/SimpleEditor/panes/Comments/CommentBoxList.js @@ -91,7 +91,7 @@ class CommentBoxList extends Component { if (entry.id === active) isActive = true // get position of annotation in editor - const annotationEl = document.querySelector('comment[data-id="' + entry.id + '"]') + const annotationEl = document.querySelector('span[data-id="' + entry.id + '"]') if (annotationEl) { annotationTop = (self.hasCssClass(annotationEl.offsetParent, 'sc-isolated-node'))