If abbreviation is same as key, it's still valid

See http://forums.zotero.org/discussion/32000/overriding-automatic-abbreviations/
This commit is contained in:
Aurimas Vinckevicius 2013-09-19 14:05:38 -05:00
parent b680bcf375
commit 84b6d8c5ee

View file

@ -450,10 +450,8 @@ Zotero.Cite.getAbbreviation = new function() {
}
}
if(!abbreviation || abbreviation === key) {
Zotero.debug("No abbreviation found for "+key);
return;
}
if(!abbreviation) abbreviation = key; //this should never happen, but just in case
Zotero.debug("Abbreviated "+key+" as "+abbreviation);
// Add to jurisdiction object