From 49068d1d3578542163847e721c59a5ed5e82578e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 6 Feb 2016 03:30:54 -0500 Subject: [PATCH] Initialize styles in Cite prefpane if not yet loaded Fixes #904 --- chrome/content/zotero/preferences/preferences_cite.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/preferences/preferences_cite.js b/chrome/content/zotero/preferences/preferences_cite.js index 99c8f6f28..e48784100 100644 --- a/chrome/content/zotero/preferences/preferences_cite.js +++ b/chrome/content/zotero/preferences/preferences_cite.js @@ -58,6 +58,7 @@ Zotero_Preferences.Cite = { treechildren.removeChild(treechildren.firstChild); } + yield Zotero.Styles.init(); var styles = Zotero.Styles.getVisible(); var selectIndex = false; styles.forEach(function (style, i) {