Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Fixes #2593 — Prevents application of ‘ui-corner-bl’ and ‘ui-corner-t…
Browse files Browse the repository at this point in the history
…l’ classes to ‘ui-li-thumb’ elements that have a class of ‘ui-li-icon.’
  • Loading branch information
Wilto committed Oct 4, 2011
1 parent 23a24f6 commit 5446551
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/jquery.mobile.listview.js
Expand Up @@ -91,6 +91,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
.addClass( "ui-corner-tr" )
.end()
.find( ".ui-li-thumb" )
.not(".ui-li-icon")
.addClass( "ui-corner-tl" );

// Select the last visible li element
Expand All @@ -102,6 +103,7 @@ $.widget( "mobile.listview", $.mobile.widget, {
.addClass( "ui-corner-br" )
.end()
.find( ".ui-li-thumb" )
.not(".ui-li-icon")
.addClass( "ui-corner-bl" );
}
},
Expand Down

0 comments on commit 5446551

Please sign in to comment.