fixed aside elements being displayed multiple times per list item

This commit is contained in:
Karan Bhangui 2010-10-26 05:13:59 +08:00 committed by Scott Jehl
parent 14fbb9a580
commit f78d110339

View file

@ -135,7 +135,9 @@ jQuery.widget( "mobile.listview", jQuery.mobile.widget, {
var aside = item.find( ".ui-li-aside" );
if ( aside.length ) {
aside.prependTo( aside.parent() ); //shift aside to front for css float
aside.each(function(i, el) {
$(el).prependTo( $(el).parent() ); //shift aside to front for css float
});
}
if ( jQuery.support.cssPseudoElement || !jQuery.nodeName( item[0], "ol" ) ) {