Skip to content
This repository
Browse code

Fix for issue #1929 (second attempt)

  • Loading branch information...
commit ebd4eeced03489a13b947f2a8f45d6581ff77765 1 parent 6b1343d
Ghislain Seguin authored
2  js/jquery.mobile.controlGroup.js
@@ -32,7 +32,7 @@ $.fn.controlgroup = function(options){
32 32
 				.end()
33 33
 				.filter(':last').addClass(flCorners[1]).addClass('ui-controlgroup-last');
34 34
 		}
35  
-		flipClasses($(this).find('.ui-btn'));
  35
+		flipClasses($(this).find('.ui-btn'+(o.dontFilterOutInvisible?'':':visible')));
36 36
 		flipClasses($(this).find('.ui-btn-inner'));
37 37
 		if(o.shadow){
38 38
 			$(this).addClass('ui-shadow');
2  js/jquery.mobile.page.js
@@ -134,7 +134,7 @@ $.widget( "mobile.page", $.mobile.widget, {
134 134
 
135 135
 		$elem
136 136
 			.find(":jqmData(role='controlgroup')")
137  
-			.controlgroup();
  137
+			.controlgroup({dontFilterOutInvisible: true});
138 138
 
139 139
 		//links within content areas
140 140
 		$elem.find( "a:not(.ui-btn):not(.ui-link-inherit)" )

0 notes on commit ebd4eec

Please sign in to comment.
Something went wrong with that request. Please try again.