www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit b1dc24b3e13e89b83b40e7503b2d1ca5d89eaff0
parent 6981df1eaf294eb6d0d7ca6bdab7e92732c0ab42
Author: Avram Lyon <ajlyon@gmail.com>
Date:   Sat,  4 Jun 2011 11:44:51 +0000

Trans: Fix ACS Pubs (http://forums.zotero.org/discussion/18184)


Diffstat:
Mtranslators/ACS Publications.js | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/translators/ACS Publications.js b/translators/ACS Publications.js @@ -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(); -} -\ No newline at end of file +}