Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…lapsible set.
  • Loading branch information...
commit 2a0a73e9ba1f712421739acb7ec68c1876a11cf1 1 parent 5428e2a
@jaspermdegroot jaspermdegroot authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/widgets/collapsibleSet.js
View
4 js/widgets/collapsibleSet.js
@@ -40,7 +40,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
collapsible = $( event.target ).closest( ".ui-collapsible" ),
widget = collapsible.data( "collapsible" );
if ( 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" )
@@ -82,7 +82,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
if ( !!o.inset ) {
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" )
Please sign in to comment.
Something went wrong with that request. Please try again.