www

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

commit 84b6d8c5eee01e01743bf070a0facf449df97028
parent b680bcf375a2afd73ca42b677ad458126aec0b45
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date:   Thu, 19 Sep 2013 14:05:38 -0500

If abbreviation is same as key, it's still valid
See http://forums.zotero.org/discussion/32000/overriding-automatic-abbreviations/

Diffstat:
Mchrome/content/zotero/xpcom/cite.js | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js @@ -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