From 92620afa52c92ab0c1f5f80b7aa63b3d0026f785 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 4 Oct 2006 00:31:29 +0000 Subject: [PATCH] fix a couple of rather inconsequential small bugs --- chrome/content/zotero/ingester/browser.js | 2 +- scrapers.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/ingester/browser.js b/chrome/content/zotero/ingester/browser.js index 27c96895a..8f2213ccd 100644 --- a/chrome/content/zotero/ingester/browser.js +++ b/chrome/content/zotero/ingester/browser.js @@ -147,7 +147,7 @@ Zotero_Ingester_Interface.contentLoad = function(event) { for each(var blacklistedURL in Zotero_Ingester_Interface.blacklist) { if(doc.domain.substr(doc.domain.length-blacklistedURL.length) == blacklistedURL) { - Zotero.debug("Ignoring blacklisted URL "+document.location); + Zotero.debug("Ignoring blacklisted URL "+doc.location); return; } } diff --git a/scrapers.sql b/scrapers.sql index 7f6e85bab..ddf277c2c 100644 --- a/scrapers.sql +++ b/scrapers.sql @@ -7108,7 +7108,7 @@ record.prototype.translate = function(item) { // some LOC entries have no listed author, but have the author in the person subject field as the first entry var field = this.getFieldSubfields("600"); if(field[0]) { - item.creators.push(Zotero.Utilities.cleanAuthor(field[0]["a"], true)); + item.creators.push(Zotero.Utilities.cleanAuthor(field[0]["a"], "author", true)); } }