Commit 0ed4bdd2 authored by Randall Leeds's avatar Randall Leeds

be similarly efficient with summaries

parent 3c125fc6
......@@ -205,8 +205,8 @@ class Hypothesis extends Annotator
excerpts.exit().remove()
context = context.select('.annotator-listing')
context.select('.annotator-listing > li.hyp-excerpt').remove()
items = context.selectAll('.annotator-listing > li.hyp-annotation')
context.selectAll(-> this.children).remove()
items = context.selectAll('.hyp-annotation')
.data ((c) -> c.children), ((c) -> c.message.id)
items.enter().append('li')
.classed('hyp-annotation', true)
......
Markdown is supported
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