Make sure that an actual timeout is triggered (and not accidentally triggered from a setInterval). Fixes #5609.

This commit is contained in:
John Resig 2009-12-09 08:09:41 -08:00
parent 17791c9a3e
commit 9e60fec46b

View file

@ -430,7 +430,7 @@ jQuery.extend({
// Fire the complete handlers
complete();
if ( isTimeout ) {
if ( isTimeout === "timeout" ) {
xhr.abort();
}