From b9b8ba762824c66ce0a140027c04006fac3208ab Mon Sep 17 00:00:00 2001 From: Dzianis Dashkevich Date: Thu, 6 Jun 2024 10:08:20 -0400 Subject: [PATCH] chore: revert timeout --- src/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/index.js b/src/index.js index 0c2f0ae..f865c55 100644 --- a/src/index.js +++ b/src/index.js @@ -275,10 +275,6 @@ function _createXHR(options) { } } - if (options.timeout && Number.isFinite(options.timeout)) { - xhr.timeout = options.timeout; - } - xhr.onreadystatechange = readystatechange xhr.onload = loadFunc xhr.onerror = errorFunc