From ee75b81e0990b47e95fee6723fa3ecac13537339 Mon Sep 17 00:00:00 2001 From: Daniel Eden Date: Fri, 31 Jan 2014 13:44:15 +0000 Subject: [PATCH] Correct jQuery example. Fixes #127 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: