Permalink
Browse files

Fixes #2593 — Prevents application of ‘ui-corner-bl’ and ‘ui-corner-…

…tl’ 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 54465515d77e3f8acbca12efd4a3a22e369a1db8
Showing with 2 additions and 0 deletions.
  1. +2 −0 js/jquery.mobile.listview.js
@@ -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
@@ -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" );
}
},

0 comments on commit 5446551

Please sign in to comment.