mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
listview thumb styling via listview('refresh'). Fixes 947
This commit is contained in:
parent
61b7b2e002
commit
ee1a8c1977
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
|
|||
|
||||
item.find( "p, dl" ).addClass( "ui-li-desc" );
|
||||
|
||||
item.find( "li" ).find( "img:eq(0)" ).addClass( "ui-li-thumb" ).each(function() {
|
||||
$list.find( "li" ).find( "img:eq(0)" ).addClass( "ui-li-thumb" ).each(function() {
|
||||
$( this ).closest( "li" )
|
||||
.addClass( $(this).is( ".ui-li-icon" ) ? "ui-li-has-icon" : "ui-li-has-thumb" );
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue