diff --git a/js/jquery.mobile.listview.js b/js/jquery.mobile.listview.js index 703bcf40cce..d7238e8147b 100644 --- a/js/jquery.mobile.listview.js +++ b/js/jquery.mobile.listview.js @@ -87,7 +87,13 @@ $.widget( "mobile.listview", $.mobile.widget, { .addClass( "ui-corner-top" ); $topli.add( $topli.find( ".ui-btn-inner" ) ) - .find( ".ui-li-link-alt" ) + // exclude the ui-btn-inner span in split lists + .not( ".ui-li-link-alt span:first-child" ) ) + // give the glowing top-border a radius + .addClass( "ui-corner-top" ) + .end() + // include the first span in split lists for border-right-radius setting + .find( ".ui-li-link-alt, .ui-li-link-alt span:first-child" ) .addClass( "ui-corner-tr" ) .end() .find( ".ui-li-thumb" )