Skip to content

Commit

Permalink
chore: revert timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzianis Dashkevich committed Jun 6, 2024
1 parent 1e50ee9 commit b9b8ba7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9b8ba7

Please sign in to comment.