mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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
|
||||
complete();
|
||||
|
||||
if ( isTimeout ) {
|
||||
if ( isTimeout === "timeout" ) {
|
||||
xhr.abort();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user