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

Commit

Permalink
Listview: Make it possible to apply count theme with a class
Browse files Browse the repository at this point in the history
Fixes gh-6966
  • Loading branch information
jaspermdegroot committed May 31, 2014
1 parent 0ec40a4 commit 909d701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/listview.js
Expand Up @@ -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.
Expand Down

0 comments on commit 909d701

Please sign in to comment.