Carousel: padding items get text cloned
Reported by Michael Mathews | October 14th, 2009 @ 05:00 PM
When creating the padding to fill in the end of a carousel, we are cloning the first carousel item and calling empty() on it. The empty() method removes all HTML nodes, but leaves behind text nodes. So if the first item in a carousel has text nodes in the children, that text will cloned in each of the padding items.
Is this a bug in empty() perhaps, seems like a method called empty should leave a node "empty".
Comments and changes to this ticket
-
Michael Mathews October 15th, 2009 @ 11:37 AM
- Assigned user set to Michael Mathews
- State changed from new to open
-
Michael Mathews October 15th, 2009 @ 11:40 AM
- State changed from open to review
Fix committed in git badfd09.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library