aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/a.js
diff options
context:
space:
mode:
authorIgor Minar2013-01-08 11:47:22 -0800
committerIgor Minar2013-01-08 11:51:17 -0800
commit4cda02860949cdd090923bca52916cc5c4ecac9a (patch)
tree1beee5b679de6551334c325e6daa8324d352d7f4 /src/ng/directive/a.js
parent8ecce7642b87625577ab023b5151976e41221374 (diff)
downloadangular.js-4cda02860949cdd090923bca52916cc5c4ecac9a.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.
Diffstat (limited to 'src/ng/directive/a.js')
-rw-r--r--src/ng/directive/a.js1
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
}
});
}