inset listviews with a single item will get appropriate visual treatment. Fixes #469

This commit is contained in:
scottjehl 2011-02-01 00:37:24 -05:00
parent eb2845d1dc
commit da1c615c8a

View file

@ -251,7 +251,8 @@ $.widget( "mobile.listview", $.mobile.widget, {
self._removeCorners( item.next() );
}
} else if ( pos === li.length - 1 ) {
}
if ( pos === li.length - 1 ) {
itemClass += " ui-corner-bottom";
item