mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-25 10:20:34 +00:00
fixed aside elements being displayed multiple times per list item
This commit is contained in:
parent
14fbb9a580
commit
f78d110339
1 changed files with 3 additions and 1 deletions
|
|
@ -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" ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue