Skip to content

Commit

Permalink
Fixing the wrong removal
Browse files Browse the repository at this point in the history
  • Loading branch information
jabranr committed Jul 4, 2016
1 parent b529d3a commit 2a2bf8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -157,7 +157,7 @@ $.fn.extend({
animateCss: function (animationName) {
var animationEnd = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
this.addClass('animated ' + animationName).one(animationEnd, function() {
this.removeClass('animated ' + animationName);
$(this).removeClass('animated ' + animationName);
});
}
});
Expand Down

0 comments on commit 2a2bf8d

Please sign in to comment.