Skip to content

Commit

Permalink
revert: fix(a): prevent Opera from incorrectly navigating on link click
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
IgorMinar committed Jan 8, 2013
1 parent 2b0978b commit 14948cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ng/directive/a.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
});
}
Expand Down

0 comments on commit 14948cf

Please sign in to comment.