Fixes #1796, trigger() checks type rather than event for 'modify', 'delete'
This commit is contained in:
parent
8eda39ad7e
commit
21f1e3789e
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ Zotero.Notifier = new function(){
|
||||||
throw ('Invalid type ' + type + ' in Notifier.trigger()');
|
throw ('Invalid type ' + type + ' in Notifier.trigger()');
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (type) {
|
switch (event) {
|
||||||
case 'modify':
|
case 'modify':
|
||||||
case 'delete':
|
case 'delete':
|
||||||
if (!extraData) {
|
if (!extraData) {
|
||||||
|
|
Loading…
Reference in a new issue