From 19f5aebbcbbaf9623c103217c5411be6d8b03e6d Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 21 Jan 2013 01:05:18 -0500 Subject: [PATCH] Add missing "new" --- chrome/content/zotero/xpcom/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/style.js b/chrome/content/zotero/xpcom/style.js index 840a11ef7..5cf04bcd9 100644 --- a/chrome/content/zotero/xpcom/style.js +++ b/chrome/content/zotero/xpcom/style.js @@ -247,7 +247,7 @@ Zotero.Styles = new function() { '/csl:style/csl:info[1]/csl:link[@rel="source" or @rel="independent-parent"][1]/@href', Zotero.Styles.ns); if(source == styleID) { - throw Zotero.Exception.Alert("styles.installError", origin, + throw new Zotero.Exception.Alert("styles.installError", origin, "styles.install.title", "Style references itself as source"); }