diff --git a/chrome/content/zotero/errorReport.xul b/chrome/content/zotero/errorReport.xul index 67f31b774..eff8c9196 100644 --- a/chrome/content/zotero/errorReport.xul +++ b/chrome/content/zotero/errorReport.xul @@ -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(); }); }