Commit 2ed9fe7c authored by Randall Leeds's avatar Randall Leeds

Merge pull request #546 from hypothesis/540-replies-twice

We don't have to add annotations to the view if they're replies.
parents 987ea73b 0a404f24
......@@ -87,7 +87,8 @@ class Hypothesis extends Annotator
# Add new annotations to the view when they are created
this.subscribe 'annotationCreated', (a) =>
$rootScope.annotations.unshift a
unless a.references?
$rootScope.annotations.unshift a
# Remove annotations from the application when they are deleted
this.subscribe 'annotationDeleted', (a) =>
......
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