From d894fdb1d445f02aa8ee1f46f9fc3ee0cbb71462 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 1 Dec 2014 17:12:07 -0500 Subject: [PATCH] Fix citation list generation via right-click and quick copy Broken by 523724185 Not sure if cslEngine.opt.class is a safe way to get the class. @fbennett? --- chrome/content/zotero/xpcom/cite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index e7bd2090c9..3bb4c39bad 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -80,7 +80,7 @@ Zotero.Cite = { if(bibliography) return bibliography; } - var styleClass = style.class; + var styleClass = cslEngine.opt.class; var citations = [cslEngine.appendCitationCluster({"citationItems":[{"id":item.id}], "properties":{}}, true)[0][1] for each(item in items)];