Commit 94a90869 authored by Randall Leeds's avatar Randall Leeds

recognize more elife

parent 104531a9
......@@ -176,7 +176,7 @@ class Hypothesis extends Annotator
console.log "Looking for synonym URLs for '" + href + "'..."
results = []
if stringStartsWith href, "http://elife.elifesciences.org/content/2"
if stringStartsWith href, "http://elife.elifesciences.org/content"
if stringEndsWith href, ".full-text.pdf"
results.push href.substr 0, href.length - ".full-text.pdf".length
else
......
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