Skip to content

Commit

Permalink
fix(ui-sref): replace raw href modification with attrs.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikaspran committed Aug 28, 2014
1 parent bcaddf5 commit 08c9678
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 @@ -112,7 +112,7 @@ function $StateRefDirective($state, $timeout) {
nav = false;
return false;
}
element[0][attr] = newHref;
attrs.$set(attr, newHref);
};

if (ref.paramExpr) {
Expand Down

0 comments on commit 08c9678

Please sign in to comment.