@@ -52,7 +52,7 @@ this.superFetch = this.superFetch || (() => {
resolve({ headers, status: xhrRequest.status, arrayBuffer: () => new Promise((resolve, reject) => [resolveResponse, rejectResponse] = [resolve, reject]) });
}
if (xhrRequest.readyState == XMLHttpRequest.DONE) {
- resolveResponse(xhrRequest.response);
+ setTimeout(() => resolveResponse(xhrRequest.response), 1);
};
xhrRequest.onerror = error => {