diff --git a/chrome/content/zotero/xpcom/notifier.js b/chrome/content/zotero/xpcom/notifier.js index dbade2ce42..6f8423d726 100644 --- a/chrome/content/zotero/xpcom/notifier.js +++ b/chrome/content/zotero/xpcom/notifier.js @@ -110,7 +110,7 @@ Zotero.Notifier = new function(){ throw ('Invalid type ' + type + ' in Notifier.trigger()'); } - switch (type) { + switch (event) { case 'modify': case 'delete': if (!extraData) {