fix a couple of rather inconsequential small bugs
This commit is contained in:
parent
ac50ab16a2
commit
92620afa52
|
@ -147,7 +147,7 @@ Zotero_Ingester_Interface.contentLoad = function(event) {
|
||||||
|
|
||||||
for each(var blacklistedURL in Zotero_Ingester_Interface.blacklist) {
|
for each(var blacklistedURL in Zotero_Ingester_Interface.blacklist) {
|
||||||
if(doc.domain.substr(doc.domain.length-blacklistedURL.length) == blacklistedURL) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
// 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");
|
var field = this.getFieldSubfields("600");
|
||||||
if(field[0]) {
|
if(field[0]) {
|
||||||
item.creators.push(Zotero.Utilities.cleanAuthor(field[0]["a"], true));
|
item.creators.push(Zotero.Utilities.cleanAuthor(field[0]["a"], "author", true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user