Skip to content

Commit 167b0d2

Browse files
committed
[AEA Web] Fix multiples list
1 parent 29aa40f commit 167b0d2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

AEA Web.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"inRepository": true,
1010
"translatorType": 4,
1111
"browserSupport": "gcsb",
12-
"lastUpdated": "2014-11-26 06:33:27"
12+
"lastUpdated": "2014-12-08 06:33:27"
1313
}
1414

1515
/*
@@ -47,10 +47,8 @@ function doWeb(doc, url) {
4747
var title;
4848

4949
var titles = doc.evaluate('//a[contains(@href, "articles.php?doi") and @style="font-weight:bold;"]', doc, null, XPathResult.ANY_TYPE, null);
50-
if (titles.iterateNext()) {
51-
while (title = titles.iterateNext()) {
52-
items[title.href] = title.textContent;
53-
}
50+
while (title = titles.iterateNext()) {
51+
items[title.href] = title.textContent;
5452
}
5553

5654
Zotero.selectItems(items, function(items) {

0 commit comments

Comments
 (0)