remove corners on all li elements of the list when refreshing corners

This commit is contained in:
gseguin 2011-08-11 16:22:11 -07:00
parent e0ae323bd8
commit ef431a870c

View file

@ -75,7 +75,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
$li = this.element.children( "li" );
$visibleli = $li.not( ".ui-screen-hidden" );
this._removeCorners( $li.filter( ".ui-corner-top" ).add( ".ui-corner-bottom" ) );
this._removeCorners( $li );
// Select the first visible li element
$topli = $visibleli.first()