Skip to content
Snippets Groups Projects
Commit 1f1d7bdb authored by chris's avatar chris Committed by john
Browse files

distinguish overlapping comments

parent 460abe78
No related branches found
No related tags found
No related merge requests found
......@@ -135,12 +135,12 @@ class CommentsProvider extends TocProvider {
//
changeActiveColor (id) {
const commentElement = this.selectCommentElement(id)
if (commentElement) commentElement[0].style.borderBottom = '2px solid red'
commentElement[0].style.backgroundColor = '#eafaf0'
}
revertActiveColor (id) {
const commentElement = this.selectCommentElement(id)
if (commentElement[0]) commentElement[0].style.borderBottom = '2px solid #228b46'
if (commentElement[0]) commentElement[0].removeAttribute('style')
}
selectCommentElement (id) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment