1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00
This commit is contained in:
Matthew Hodgson
2021-03-08 05:05:14 +00:00
parent 1a8fced80e
commit 0bafe263d7

View File

@@ -274,7 +274,7 @@ MatrixHttpApi.prototype = {
switch (xhr.readyState) {
case global.XMLHttpRequest.DONE:
callbacks.clearTimeout(xhr.timeout_timer);
var resp;
let resp;
try {
if (xhr.status === 0) {
throw new AbortError();