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