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
|
@ -430,7 +430,7 @@ jQuery.extend({
|
||||||
// Fire the complete handlers
|
// Fire the complete handlers
|
||||||
complete();
|
complete();
|
||||||
|
|
||||||
if ( isTimeout ) {
|
if ( isTimeout === "timeout" ) {
|
||||||
xhr.abort();
|
xhr.abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue