This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.5k
ngClick broken in AngularJS 1.0.3 with jQuery #1662
Comments
I have similar problem posted which I believe related to this commit as well... It doesn't make sense to me preventDefault() and return false are being use together... |
This is caused by c81d817. Quick fix: comment out "return false". |
fixed by 14948cf |
jamessharp
pushed a commit
to jamessharp/angular.js
that referenced
this issue
Jan 18, 2013
This reverts commit c81d817. This commit causes several issues (angular#1651, angular#1674, angular#1662) and doesn't even contain a test that proves that anything on Opera got actually fixed. If the original Opera resurfaces, we'll fix it properly.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment: jQuery, AngularJS 1.0.3
Example: http://jsfiddle.net/andreev_artem/cV3aL/2/
It works without jQuery: http://jsfiddle.net/andreev_artem/cV3aL/1/
This issue caused by commit c81d817.
From jQuery bind documentation:
"Returning false from a handler is equivalent to calling both .preventDefault() and .stopPropagation() on the event object."
The text was updated successfully, but these errors were encountered: