Skip to content

Commit

Permalink
fixed race condition when fade is enabled (Closes jaz303#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaz303 committed Jan 15, 2010
1 parent af92983 commit 5480fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/jquery.tipsy.js
Expand Up @@ -53,7 +53,7 @@
}

if (opts.fade) {
tip.css({opacity: 0, display: 'block', visibility: 'visible'}).animate({opacity: opts.opacity});
tip.stop().css({opacity: 0, display: 'block', visibility: 'visible'}).animate({opacity: opts.opacity});
} else {
tip.css({visibility: 'visible', opacity: opts.opacity});
}
Expand Down

0 comments on commit 5480fe7

Please sign in to comment.