removed undesired function invocation parenthesis
This commit is contained in:
parent
09338c7304
commit
7224a82654
|
@ -27,7 +27,7 @@ http://api.jquery.com/one/
|
|||
-->
|
||||
|
||||
```javascript
|
||||
$('#yourElement').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd 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:
|
||||
|
|
Loading…
Reference in a new issue