Permalink
Browse files

Fix for issue #1929 (second attempt)

  • Loading branch information...
1 parent 6b1343d commit ebd4eeced03489a13b947f2a8f45d6581ff77765 @gseguin gseguin committed Jun 25, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 js/jquery.mobile.controlGroup.js
  2. +1 −1 js/jquery.mobile.page.js
@@ -32,7 +32,7 @@ $.fn.controlgroup = function(options){
.end()
.filter(':last').addClass(flCorners[1]).addClass('ui-controlgroup-last');
}
- flipClasses($(this).find('.ui-btn'));
+ flipClasses($(this).find('.ui-btn'+(o.dontFilterOutInvisible?'':':visible')));
flipClasses($(this).find('.ui-btn-inner'));
if(o.shadow){
$(this).addClass('ui-shadow');
@@ -134,7 +134,7 @@ $.widget( "mobile.page", $.mobile.widget, {
$elem
.find(":jqmData(role='controlgroup')")
- .controlgroup();
+ .controlgroup({dontFilterOutInvisible: true});
//links within content areas
$elem.find( "a:not(.ui-btn):not(.ui-link-inherit)" )

0 comments on commit ebd4eec

Please sign in to comment.