Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
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 6d6c4bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.mobile.collapsibleSet.js
Expand Up @@ -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" )
Expand Down Expand Up @@ -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" )
Expand Down

0 comments on commit 6d6c4bb

Please sign in to comment.