Trans: Fix ACS Pubs (http://forums.zotero.org/discussion/18184)
This commit is contained in:
parent
6981df1eaf
commit
b1dc24b3e1
1 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
"maxVersion":"",
|
||||
"priority":100,
|
||||
"inRepository":true,
|
||||
"lastUpdated":"2009-07-21 19:20:00"
|
||||
"lastUpdated":"2011-06-04 19:20:00"
|
||||
}
|
||||
|
||||
function detectWeb(doc, url) {
|
||||
|
@ -39,7 +39,7 @@ function doWeb(doc, url){
|
|||
var doi;
|
||||
var title;
|
||||
var availableItems = new Array();
|
||||
var xpath = '//div[@class="articleBox"]';
|
||||
var xpath = '//div[@class="articleBox" or @class="articleBox "]';
|
||||
if (doc.evaluate(xpath, doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext()) {
|
||||
elmts = doc.evaluate(xpath, doc, nsResolver, XPathResult.ANY_TYPE, null);
|
||||
var elmt = elmts.iterateNext();
|
||||
|
@ -114,4 +114,4 @@ function doWeb(doc, url){
|
|||
}
|
||||
setupCallback();
|
||||
Zotero.wait();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue