Commit 73a62423 authored by csillag's avatar csillag

Add some missing draft protection. Fixes #912.

parent 9260eb84
...@@ -220,6 +220,7 @@ class Hypothesis extends Annotator ...@@ -220,6 +220,7 @@ class Hypothesis extends Annotator
) )
.bind('showViewer', (ctx, ids=[]) => .bind('showViewer', (ctx, ids=[]) =>
return unless this.discardDrafts()
this.showViewer ((@threading.getContainer id).message for id in ids) this.showViewer ((@threading.getContainer id).message for id in ids)
) )
......
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