Hi everyone,I'm having a problem with the ancestors-property.It seems to only contain the next ancestor (parent), but not the ancestors of the parent.
Can somebody confirm that?Koen Bok Jordan Robert Dobson
Yeah, trying to print the ancestors (rather than their number via .length) also gives unexpected results.
ancestors is a function, so add parenthesis to make it work layer.ancestors()
Ah, I see. There's a typo in the docs, then. Might make sense to make it behave the same way as descendants, which works without parenthesis.
You are right. I'll make a ticket. Thanks for the heads-up!
Thanks for the quick help!