aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ng/directive/a.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ng/directive/a.js b/src/ng/directive/a.js
index 340bceb7..0cd04ec4 100644
--- a/src/ng/directive/a.js
+++ b/src/ng/directive/a.js
@@ -27,6 +27,7 @@ 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
}
});
}