diff options
Diffstat (limited to 'src/deferred.js')
-rw-r--r-- | src/deferred.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deferred.js b/src/deferred.js index 5f6e0a2fa..939b58f37 100644 --- a/src/deferred.js +++ b/src/deferred.js @@ -132,9 +132,9 @@ jQuery.extend({ for ( ; i < length; i++ ) { if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { resolveValues[ i ].promise() + .progress( updateFunc( i, progressContexts, progressValues ) ) .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); + .fail( deferred.reject ); } else { --remaining; } |