Skip to content
This repository
Browse code

Collapsible sets: fixed corner styling of legends as heading in a col…

…lapsible set.
  • Loading branch information...
commit 2a0a73e9ba1f712421739acb7ec68c1876a11cf1 1 parent 5428e2a
Jasper de Groot authored July 23, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  js/widgets/collapsibleSet.js
4  js/widgets/collapsibleSet.js
@@ -40,7 +40,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
40 40
 						collapsible = $( event.target ).closest( ".ui-collapsible" ),
41 41
 						widget = collapsible.data( "collapsible" );
42 42
 					if ( collapsible.jqmData( "collapsible-last" ) ) {
43  
-						collapsible.find( widget.options.heading ).first()
  43
+						collapsible.find( ".ui-collapsible-heading" ).first()
44 44
 							.find( "a" ).first()
45 45
 							.toggleClass( "ui-corner-bottom", isCollapse )
46 46
 							.find( ".ui-btn-inner" )
@@ -82,7 +82,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
82 82
 		if ( !!o.inset ) {
83 83
 			collapsiblesInSet.each(function() {
84 84
 				$( this ).jqmRemoveData( "collapsible-last" )
85  
-					.find( $.mobile.collapsible.prototype.options.heading )
  85
+					.find( ".ui-collapsible-heading" )
86 86
 					.find( "a" ).first()
87 87
 					.removeClass( "ui-corner-top ui-corner-bottom" )
88 88
 					.find( ".ui-btn-inner" )

0 notes on commit 2a0a73e

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