Permalink
Browse files

Listview: Make it possible to apply count theme with a class

Fixes gh-6966
Closes gh-7457
  • Loading branch information...
jaspermdegroot committed May 31, 2014
1 parent 2a4d092 commit 6c7e304fb822daf6073a9b8a08d9285d3003402e
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/listview.js
View
@@ -196,7 +196,7 @@ $.widget( "mobile.listview", $.extend( {
$( this ).closest( "li" ).addClass( "ui-li-has-count" );
});
if ( countThemeClass ) {
countBubbles.addClass( countThemeClass );
countBubbles.not( "[class*='ui-body-']" ).addClass( countThemeClass );
}
// Deprecated in 1.4. From 1.5 you have to add class ui-li-has-thumb or ui-li-has-icon to the LI.

0 comments on commit 6c7e304

Please sign in to comment.