Skip to content

Commit

Permalink
Merge pull request #2511 from dEradicated/master
Browse files Browse the repository at this point in the history
fix(uiState): Corrected variable (#2488, #2508)
  • Loading branch information
christopherthielen committed Feb 1, 2016
2 parents 87f10df + b8f3c14 commit d482cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stateDirectives.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function $StateRefDynamicDirective($state, $timeout) {
def.state = group[0]; def.params = group[1]; def.options = group[2];
def.href = $state.href(def.state, def.params, def.options);

if (active) active.$$addStateInfo(ref.state, def.params);
if (active) active.$$addStateInfo(def.state, def.params);
if (def.href) attrs.$set(type.attr, def.href);
}

Expand Down

0 comments on commit d482cc8

Please sign in to comment.