Created
May 13, 2010 01:56
-
-
Save aaronmcadam/399390 to your computer and use it in GitHub Desktop.
A way to tell if the click is actually a user-made click and not a triggered one
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.fn.trigger = function (type) { if (type == 'click') return false; return this.trigger (type); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A way to tell if the click is actually a user-made click and not a triggered one