From fec14e590bd81de7ea4859329b51f7a815bc56f0 Mon Sep 17 00:00:00 2001 From: Buu Nguyen Date: Fri, 23 Aug 2013 17:11:26 -0500 Subject: [PATCH] fixes angular-ui/ui-router#350 --- src/stateDirectives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stateDirectives.js b/src/stateDirectives.js index 38078d26d..c9c5cae47 100644 --- a/src/stateDirectives.js +++ b/src/stateDirectives.js @@ -41,7 +41,7 @@ function $StateRefDirective($state) { if ((e.which == 1) && !e.ctrlKey && !e.metaKey && !e.shiftKey) { $state.go(ref.state, params); scope.$apply(); - e.preventDefault(); + return false; } }); }