Make sure that an actual timeout is triggered (and not accidentally triggered from a setInterval). Fixes #5609.
This commit is contained in:
parent
17791c9a3e
commit
9e60fec46b
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ jQuery.extend({
|
|||
// Fire the complete handlers
|
||||
complete();
|
||||
|
||||
if ( isTimeout ) {
|
||||
if ( isTimeout === "timeout" ) {
|
||||
xhr.abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue