Skip to content

Instantly share code, notes, and snippets.

@clngn
Last active December 20, 2015 22:19
Show Gist options
  • Save clngn/6204051 to your computer and use it in GitHub Desktop.
Save clngn/6204051 to your computer and use it in GitHub Desktop.
animation
$('#iine').on({
'click': function() {
$(this).addClass('iine_animation');
},
'webkitAnimationEnd': function() {
$(this).removeClass('iine_animation');
}
});
$('#add_sticky').on({
'click': function() {
$(this).addClass('add_sticky_animation');
},
'webkitAnimationEnd': function() {
$(this).removeClass('add_sticky_animation');
}
});
$('#add_comment').on({
'click': function() {
$(this).addClass('add_comment_animation');
},
'webkitAnimationEnd': function() {
$(this).removeClass('add_comment_animation');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment