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

Commit ab0358e

Browse files
Listview: Make it possible to apply count theme with a class
Fixes gh-6966 Closes gh-7457
1 parent 040c6c5 commit ab0358e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/listview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ $.widget( "mobile.listview", $.extend( {
196196
$( this ).closest( "li" ).addClass( "ui-li-has-count" );
197197
});
198198
if ( countThemeClass ) {
199-
countBubbles.addClass( countThemeClass );
199+
countBubbles.not( "[class*='ui-body-']" ).addClass( countThemeClass );
200200
}
201201

202202
// 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 commit comments

Comments
 (0)