Commit 9e60fec4 authored by John Resig's avatar John Resig

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

Make sure that an actual timeout is triggered (and not accidentally triggered from a setInterval). Fixes #5609.
parent 17791c9a
......@@ -430,7 +430,7 @@ jQuery.extend({
// Fire the complete handlers
complete();
if ( isTimeout ) {
if ( isTimeout === "timeout" ) {
xhr.abort();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment