mirror of
https://github.com/zotero/zotero.git
synced 2026-10-11 03:38:25 +00:00
Remove extra function wrapper
This commit is contained in:
parent
75293a475d
commit
1e47d12436
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue