Permalink
Browse files

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

…lapsible set.
  • Loading branch information...
jaspermdegroot committed Jul 23, 2012
1 parent b1a7725 commit 6d6c4bb6e5794fdb03c5f0d1eca03693f7c37a41
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/jquery.mobile.collapsibleSet.js
@@ -40,7 +40,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
widget = collapsible.data( "collapsible" ),
contentTheme = widget.options.contentTheme;
if ( contentTheme && collapsible.jqmData( "collapsible-last" ) ) {
- collapsible.find( widget.options.heading ).first()
+ collapsible.find( ".ui-collapsible-heading" ).first()
.find( "a" ).first()
.toggleClass( "ui-corner-bottom", isCollapse )
.find( ".ui-btn-inner" )
@@ -71,7 +71,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
// clean up borders
collapsiblesInSet.each( function() {
$( this ).jqmRemoveData( "collapsible-last" )
- .find( $.mobile.collapsible.prototype.options.heading )
+ .find( ".ui-collapsible-heading" )
.find( "a" ).first()
.removeClass( "ui-corner-top ui-corner-bottom" )
.find( ".ui-btn-inner" )

0 comments on commit 6d6c4bb

Please sign in to comment.