diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index 9457cd6f2..efd66759c 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -172,7 +172,8 @@ Zotero.Style.prototype.__defineGetter__("csl", */ function() { // cache last style - if(Zotero.Styles.cacheTranslatorData && Zotero.Styles.lastCSL.styleID == this.styleID) { + if(Zotero.Styles.cacheTranslatorData && Zotero.Styles.lastCSL && + Zotero.Styles.lastCSL.styleID == this.styleID) { return Zotero.Styles.lastCSL; }