commit 19f5aebbcbbaf9623c103217c5411be6d8b03e6d
parent 91c3374d6bd5a50cf8f4c2db38571ae190508601
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 21 Jan 2013 01:05:18 -0500
Add missing "new"
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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");
}