#146 review
Michael Mathews

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A JavaScript Library

Shared Ticket Bins

People watching this ticket

Pages