Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
jquery extension to register click events that won't bubble. Call instead of click(func).
jQuery.fn.preventDefaultClick = function(f) {{, e);
return this;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment