bonzo icon indicating copy to clipboard operation
bonzo copied to clipboard

parents() doesn't work on detached elements

Open amccollum opened this issue 13 years ago • 3 comments

Since it gets the initial collection using $(selector) and then filters it, it fails to find any elements that aren't attached to the current document.

amccollum avatar Feb 29 '12 21:02 amccollum

cool. thanks for reporting this... this doesn't seem too difficult to tackle.

ded avatar Feb 29 '12 22:02 ded

https://github.com/rvagg/traversty

:trollface:

rvagg avatar Mar 01 '12 00:03 rvagg

yeah.... but this should work in Bonzo too

ded avatar Mar 01 '12 01:03 ded