removed broad rule for rounding corners of thumbnail images in first and last slots of listviews. Now this only happens for inset listviews. Fixes #362

This commit is contained in:
scottjehl 2010-11-03 22:26:09 -04:00
parent af8b21efc5
commit a138877864

View file

@ -227,8 +227,6 @@ jQuery.widget( "mobile.listview", jQuery.mobile.widget, {
}
if ( pos === 0 ) {
item.find( "img" ).addClass( "ui-corner-tl" );
if ( o.inset ) {
itemClass += " ui-corner-top";
@ -242,7 +240,6 @@ jQuery.widget( "mobile.listview", jQuery.mobile.widget, {
}
} else if ( pos === li.length - 1 ) {
item.find( "img" ).addClass( "ui-corner-bl" );
if ( o.inset ) {
itemClass += " ui-corner-bottom";