Add missing "new"

This commit is contained in:
Simon Kornblith 2013-01-21 01:05:18 -05:00
parent 91c3374d6b
commit 19f5aebbcb

View File

@ -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");
}