Skip to content

Commit

Permalink
changed clearTimeout(timeout) to clearTimeout(duration) since timeout…
Browse files Browse the repository at this point in the history
… is not defined.
  • Loading branch information
adamnation committed Apr 2, 2012
1 parent 0454d3c commit 386f936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery-wiggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
elem.css('left', left);
elem.css('position', pos);

clearTimeout(timeout);
clearTimeout(duration);

callback && callback();
} else {
Expand Down

0 comments on commit 386f936

Please sign in to comment.