Skip to content

Commit e05ff5a

Browse files
author
Piotr Delinowski
committed
Fixes #2327, kudos to @pocesar
1 parent 2d23875 commit e05ff5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function inheritParams(currentParams, newParams, $current, $to) {
9797
var parents = ancestors($current, $to), parentParams, inherited = {}, inheritList = [];
9898

9999
for (var i in parents) {
100-
if (!parents[i].params) continue;
100+
if (!parents[i] || !parents[i].params) continue;
101101
parentParams = objectKeys(parents[i].params);
102102
if (!parentParams.length) continue;
103103

0 commit comments

Comments
 (0)