Commit 6a03710f authored by Ujvari Gergely's avatar Ujvari Gergely

Do not load the annotations from the original href twice

parent de692fce
...@@ -389,10 +389,12 @@ class Hypothesis extends Annotator ...@@ -389,10 +389,12 @@ class Hypothesis extends Annotator
console.log "Loaded annotions for '" + href + "'." console.log "Loaded annotions for '" + href + "'."
for uri in @plugins.Document.uris() for uri in @plugins.Document.uris()
unless uri is href # Do not load the href again # Do not load annotations from the href twice
unless uri is href
console.log "Also loading annotations for: " + uri console.log "Also loading annotations for: " + uri
this.plugins.Store.loadAnnotationsFromSearch uri: uri this.plugins.Store.loadAnnotationsFromSearch uri: uri
class AuthenticationProvider class AuthenticationProvider
constructor: -> constructor: ->
@actions = @actions =
......
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