aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2011-12-09 12:41:35 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-02-13 21:53:42 -0500
commit6c2b64dfa5e1d6f90c74f0f1719e9f11f52de7a4 (patch)
treefba30baf025fcfd4c42ff944b91ef60b42326c86 /src/queue.js
parenta8dd45547cb32a6c5505e139ece70b71cfc97ee8 (diff)
downloadjquery-6c2b64dfa5e1d6f90c74f0f1719e9f11f52de7a4.tar.gz
jquery-6c2b64dfa5e1d6f90c74f0f1719e9f11f52de7a4.zip
Fix #10967: jQuery.fn.promise returns provided object
Diffstat (limited to 'src/queue.js')
-rw-r--r--src/queue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.js b/src/queue.js
index da3e59721..907baf4d6 100644
--- a/src/queue.js
+++ b/src/queue.js
@@ -174,7 +174,7 @@ jQuery.fn.extend({
}
}
resolve();
- return defer.promise();
+ return defer.promise( object );
}
});