Skip to content

Commit

Permalink
tmp was global in the new fn.promise. Fixes #9147.
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed May 6, 2011
1 parent a257e07 commit f7f8450
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/queue.js
Expand Up @@ -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 ] );
Expand Down

0 comments on commit f7f8450

Please sign in to comment.