Prevent Animation Queue Buildup
Fix for animations conflicting with other events.
Simply use .stop() method before animating:
$(this).stop().animate({ right: 100 }, 'fast');
Written by Samuel David Hardy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Jquery
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#