www

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

commit b2ff4ab16a14ef798200f3d5a7347453c9d8960a
parent f92440cc122f1c717f9dc71e58bf9b4a7d3a20db
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  8 Jan 2009 08:11:05 +0000

Fixes #1281, Telegraph.co.uk translator binds to incorrect URL


Diffstat:
Mtranslators/The Telegraph.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/translators/The Telegraph.js b/translators/The Telegraph.js @@ -13,7 +13,7 @@ function detectWeb(doc, url) { Zotero.debug("detectWeb URL= "+ url); - var result = doc.evaluate('html/head/meta[@name = "article-id"]', doc, null, XPathResult.ANY_TYPE, null); + var result = doc.evaluate('html/head/meta[@name = "article-id"]', doc, null, XPathResult.ANY_TYPE, null).iterateNext(); if (result) { return "newspaperArticle"; }