Skip to content

Instantly share code, notes, and snippets.

@omurphy27
Created February 25, 2013 01:14
Show Gist options
  • Save omurphy27/5026675 to your computer and use it in GitHub Desktop.
Save omurphy27/5026675 to your computer and use it in GitHub Desktop.
JQUERY - check to see if animated
if ( $test2.is(':not(:animated)') ) { // fires if the element is not animated
$test2.animate({
'width': '100%'
}, 3000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment