Join GitHub today
Delegated click handler is not called when non-button target is disabled #3664
If a non-button target element of a delegated click handler is disabled by
Reproduced the issue in Chrome and Firefox.
I believe that this is the problematic line: https://github.com/jquery/jquery/blob/master/src/event.js#L382
Link to test case
I looked about a year ago and browsers still weren't consistent about propagating clicks on disabled buttons/links. You can see all the ticket references there. Is there a reason why you're setting a property on elements that has a defined meaning on other elements? Did you just happen to pick that name because it was short and meaningful for your custom need?
I set the