Permalink
Browse files

Fixed careless regression introduced by some amature in 3dc1213.

  • Loading branch information...
1 parent 069720f commit 517c1ffcda3f75cfc0e17e630c875a8794be6b43 @Wilto Wilto committed Mar 30, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 js/jquery.mobile.listview.js
@@ -286,7 +286,11 @@ $.widget( "mobile.listview", $.mobile.widget, {
var $this = $(this);
$this.prependTo( $this.parent() ); //shift aside to front for css float
})
- .end();
+ .end()
+
+ .find( ".ui-li-count" ).each( function() {
+ $( this ).closest( "li" ).addClass( "ui-li-has-count" );
+ }).addClass( "ui-btn-up-" + ( $list.jqmData( "counttheme" ) || this.options.countTheme) + " ui-btn-corner-all" );
// The idea here is to look at the first image in the list item
// itself, and any .ui-link-inherit element it may contain, so we

0 comments on commit 517c1ff

Please sign in to comment.