Skip to content

Commit

Permalink
Revert "fix(ng1.uiSref): Allow nested UISrefs by stopping event propa…
Browse files Browse the repository at this point in the history
…gation on-click"

This reverts commit b4a2499.
Closes #2962
  • Loading branch information
christopherthielen committed Sep 22, 2016
1 parent 98cd2d2 commit 5a12f92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ng1/directives/stateDirectives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ function clickHook(el: IAugmentedJQuery, $state: StateService, $timeout: ITimeou
$state.go(target.state, target.params, target.options);
});
e.preventDefault();
e.stopPropagation();

// if the state has no URL, ignore one preventDefault from the <a> directive.
var ignorePreventDefaultCount = type.isAnchor && !target.href ? 1: 0;
Expand Down

0 comments on commit 5a12f92

Please sign in to comment.