diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-05-06 12:10:16 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-06 12:10:16 -0400 |
commit | f7f8450041df7c250f04b03cbbcbd2d01025f379 (patch) | |
tree | c906082485647fca3ad4231777d9604584722adf /src/queue.js | |
parent | a257e07ae48d6af98fda02669e15d96bf0b21bd3 (diff) | |
download | jquery-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.js | 3 |
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 ] ); |