mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
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()');
|
||||
}
|
||||
|
||||
switch (type) {
|
||||
switch (event) {
|
||||
case 'modify':
|
||||
case 'delete':
|
||||
if (!extraData) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue