git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17791c9
)
Make sure that an actual timeout is triggered (and not accidentally triggered from...
author
John Resig
<jeresig@gmail.com>
Wed, 9 Dec 2009 16:09:41 +0000
(08:09 -0800)
committer
John Resig
<jeresig@gmail.com>
Wed, 9 Dec 2009 16:09:41 +0000
(08:09 -0800)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
7c5c838
..
81225f2
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-430,7
+430,7
@@
jQuery.extend({
// Fire the complete handlers
complete();
- if ( isTimeout ) {
+ if ( isTimeout === "timeout" ) {
xhr.abort();
}