diff --git a/cosmoz-data-nav.js b/cosmoz-data-nav.js index 2f7a39d..ceaa5ba 100644 --- a/cosmoz-data-nav.js +++ b/cosmoz-data-nav.js @@ -693,7 +693,7 @@ return; } let inBetween = path.slice(path.indexOf(selectEl)), - ancestorNav = inBetween.find(e => e.is && e.is === this.is), + ancestorNav = inBetween.find(e => e && e.constructor && e.constructor.is === this.constructor.is), select; if (ancestorNav !== this) {