Commit ef6a6144 authored by Randall Leeds's avatar Randall Leeds

uncollapse threads when replying

parent 6a700166
......@@ -289,9 +289,10 @@ class Hypothesis extends Annotator
when '#reply'
d3.event.preventDefault()
parent = d3.select(event.currentTarget).datum()
parent = d3.select(event.currentTarget)
parent.classed('hyp-collapsed', false)
reply = this.createAnnotation()
reply.thread = this.threadId(parent.message.annotation)
reply.thread = this.threadId(parent.datum().message.annotation)
editor = this._createEditor()
editor.load(reply)
......
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