aboutsummaryrefslogtreecommitdiffstats
path: root/src/deferred.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/deferred.js')
-rw-r--r--src/deferred.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/deferred.js b/src/deferred.js
index 9444f895f..c97084b70 100644
--- a/src/deferred.js
+++ b/src/deferred.js
@@ -33,7 +33,8 @@ jQuery.extend({
return this;
},
always: function() {
- return deferred.done.apply( deferred, arguments ).fail.apply( deferred, arguments );
+ deferred.done.apply( deferred, arguments ).fail.apply( deferred, arguments );
+ return this;
},
pipe: function( fnDone, fnFail, fnProgress ) {
return jQuery.Deferred(function( newDefer ) {