Commit 0a404f24 authored by Ujvari Gergely's avatar Ujvari Gergely

We don't have to add annotations to the view if they're replies.

parent 0f58e9b5
......@@ -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