diff --git a/README.md b/README.md index dc06cab..b86779c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ $('#yourElement').addClass('animated bounceOutLeft'); You can also detect when an animation ends: ```javascript -$('#yourElement').one('webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd', doSomething()); +$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', doSomething()); ``` You can change the duration of your animations, add a delay or change the number of times that it plays: