Fix a MIMETypeHandler.removeHandler() bug
This commit is contained in:
parent
1687d4caad
commit
44e8a372e5
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ Zotero.MIMETypeHandler = new function () {
|
|||
else if (_typeHandlers[type]) {
|
||||
var i = _typeHandlers[type].indexOf(handler);
|
||||
if (i != -1) {
|
||||
_typeHandlers.splice(i, 1);
|
||||
_typeHandlers[type].splice(i, 1);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue