Remove extra function wrapper
This commit is contained in:
parent
75293a475d
commit
1e47d12436
|
@ -56,9 +56,7 @@
|
|||
var url = 'https://repo.zotero.org/repo/report';
|
||||
Zotero.HTTP.promise('POST', url,
|
||||
{ body: body, successCodes: false, foreground: true })
|
||||
.then(function (xmlhttp) {
|
||||
_sendErrorReportCallback(xmlhttp);
|
||||
})
|
||||
.then(_sendErrorReportCallback)
|
||||
.done();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user