Skip to content
Permalink
Browse files

Make sure that an actual timeout is triggered (and not accidentally t…

…riggered from a setInterval). Fixes #5609.
  • Loading branch information
jeresig committed Dec 9, 2009
1 parent 17791c9 commit 9e60fec46b2394541f75da3e333094d41069e84f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -430,7 +430,7 @@ jQuery.extend({
// Fire the complete handlers
complete();

if ( isTimeout ) {
if ( isTimeout === "timeout" ) {
xhr.abort();
}

0 comments on commit 9e60fec

Please sign in to comment.
You can’t perform that action at this time.