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