Skip to content

Commit

Permalink
Fix for issue jquery-archive#2528 removing listviews glowing corners
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceG committed Oct 27, 2011
1 parent 59a4946 commit d6f2e30
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions js/jquery.mobile.listview.js
Expand Up @@ -86,9 +86,12 @@ $.widget( "mobile.listview", $.mobile.widget, {
$topli = $visibleli.first()
.addClass( "ui-corner-top" );

$topli.add( $topli.find( ".ui-btn-inner" ) )
.find( ".ui-li-link-alt" )
.addClass( "ui-corner-tr" )
$topli.add( $topli.find( ".ui-btn-inner" )
.not( ".ui-li-link-alt span:first-child" ) )
.addClass( "ui-corner-top" )
.end()
.find( ".ui-li-link-alt, .ui-li-link-alt span:first-child" )
.addClass( "ui-corner-tr" )
.end()
.find( ".ui-li-thumb" )
.not(".ui-li-icon")
Expand Down

0 comments on commit d6f2e30

Please sign in to comment.