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
console.log "Loaded annotions for '" + href + "'."
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
this.plugins.Store.loadAnnotationsFromSearch uri: uri
class AuthenticationProvider
constructor: ->
@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