Commit 99e121e3 authored by Randall Leeds's avatar Randall Leeds

really fix #53

parent 40ee944a
......@@ -324,6 +324,7 @@ class Hypothesis extends Annotator
.on 'mouseover', => d3.event.stopPropagation()
editor.on('hide', => item.remove())
editor.element.find(":input:first").focus()
context = items
......@@ -352,8 +353,7 @@ class Hypothesis extends Annotator
@editor.element.find('.annotator-listing').empty()
.append(excerpt)
.append(item)
@element.find(":input:first").focus()
.find(":input:first").focus()
d3.select(@viewer.element.get(0)).datum(null)
this.showSidebar()
......
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