Commit c06955e5 authored by Randall Leeds's avatar Randall Leeds

avoid excess hide/show sidebar

parent 83a927f3
......@@ -147,7 +147,6 @@ class Hypothesis extends Annotator
this.showViewer(annotations) if annotations?.length
showViewer: (annotations=[], detail=false) ->
@editor.hide()
viewer = d3.select(@viewer.element.get(0))
messages = annotations.map (a) ->
......@@ -256,6 +255,7 @@ class Hypothesis extends Annotator
context = items
@editor.hide()
@viewer.show()
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