diff options
| author | Igor Minar | 2013-01-08 11:47:22 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-01-08 11:47:22 -0800 |
| commit | 14948cf5d97fbe0be6fc7f884af65fd73c50e572 (patch) | |
| tree | 80a40f95bc67beead1147b0bd875f34a5c907c70 | |
| parent | 2b0978b07cf4fc1b2c5d728f60de5c0caeeb726b (diff) | |
| download | angular.js-14948cf5d97fbe0be6fc7f884af65fd73c50e572.tar.bz2 | |
revert: fix(a): prevent Opera from incorrectly navigating on link click
This reverts commit c81d8176cc55cd15acae05259ead73f90a01f0b7.
This commit causes several issues (#1651, #1674, #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.
| -rw-r--r-- | src/ng/directive/a.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ng/directive/a.js b/src/ng/directive/a.js index 0cd04ec4..340bceb7 100644 --- a/src/ng/directive/a.js +++ b/src/ng/directive/a.js @@ -27,7 +27,6 @@ var htmlAnchorDirective = valueFn({ // if we have no href url, then don't navigate anywhere. if (!element.attr('href')) { event.preventDefault(); - return false; // Needed for opera } }); } |
