Highlight current annotation
This commit is contained in:
@@ -47,6 +47,10 @@ App.LegislationAnnotatable =
|
|||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
|
|
||||||
|
|
||||||
|
$('[data-annotation-id]').removeClass('current-annotation')
|
||||||
|
$(this).addClass('current-annotation')
|
||||||
|
|
||||||
App.LegislationAllegations.show_comments()
|
App.LegislationAllegations.show_comments()
|
||||||
$("#comments-box").show()
|
$("#comments-box").show()
|
||||||
$.event.trigger
|
$.event.trigger
|
||||||
|
|||||||
@@ -101,3 +101,7 @@
|
|||||||
.annotator-hl {
|
.annotator-hl {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.current-annotation {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user