mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 19:48:06 -05:00
Make sure that an actual timeout is triggered (and not accidentally triggered from a setInterval). Fixes #5609.
This commit is contained in:
@@ -430,7 +430,7 @@ jQuery.extend({
|
||||
// Fire the complete handlers
|
||||
complete();
|
||||
|
||||
if ( isTimeout ) {
|
||||
if ( isTimeout === "timeout" ) {
|
||||
xhr.abort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user