aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-05-06 12:10:16 -0400
committertimmywil <tim.willison@thisismedium.com>2011-05-06 12:10:16 -0400
commitf7f8450041df7c250f04b03cbbcbd2d01025f379 (patch)
treec906082485647fca3ad4231777d9604584722adf /src/queue.js
parenta257e07ae48d6af98fda02669e15d96bf0b21bd3 (diff)
downloadjquery-f7f8450041df7c250f04b03cbbcbd2d01025f379.tar.gz
jquery-f7f8450041df7c250f04b03cbbcbd2d01025f379.zip
tmp was global in the new fn.promise. Fixes #9147.
Diffstat (limited to 'src/queue.js')
-rw-r--r--src/queue.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/queue.js b/src/queue.js
index ce2305426..66383c190 100644
--- a/src/queue.js
+++ b/src/queue.js
@@ -148,7 +148,8 @@ jQuery.fn.extend({
count = 1,
deferDataKey = type + "defer",
queueDataKey = type + "queue",
- markDataKey = type + "mark";
+ markDataKey = type + "mark",
+ tmp;
function resolve() {
if ( !( --count ) ) {
defer.resolveWith( elements, [ elements ] );