Skip to content

Commit

Permalink
Fixes angular-ui#2327, kudos to @pocesar
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Delinowski authored and ExpFront committed Jun 23, 2016
1 parent 8613ef2 commit ad9f4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function inheritParams(currentParams, newParams, $current, $to) {
var parents = ancestors($current, $to), parentParams, inherited = {}, inheritList = [];

for (var i in parents) {
if (!parents[i].params) continue;
if (!parents[i] || !parents[i].params) continue;
parentParams = objectKeys(parents[i].params);
if (!parentParams.length) continue;

Expand Down

0 comments on commit ad9f4aa

Please sign in to comment.