From 14948cf5d97fbe0be6fc7f884af65fd73c50e572 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 8 Jan 2013 11:47:22 -0800 Subject: [PATCH] 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. --- src/ng/directive/a.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ng/directive/a.js b/src/ng/directive/a.js index 0cd04ec4170c..340bceb7dc49 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 } }); }