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

Commit 6d6c4bb

Browse files
Collapsible sets: fixed corner styling of legends as heading in a collapsible set.
1 parent b1a7725 commit 6d6c4bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.mobile.collapsibleSet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
4040
widget = collapsible.data( "collapsible" ),
4141
contentTheme = widget.options.contentTheme;
4242
if ( contentTheme && collapsible.jqmData( "collapsible-last" ) ) {
43-
collapsible.find( widget.options.heading ).first()
43+
collapsible.find( ".ui-collapsible-heading" ).first()
4444
.find( "a" ).first()
4545
.toggleClass( "ui-corner-bottom", isCollapse )
4646
.find( ".ui-btn-inner" )
@@ -71,7 +71,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
7171
// clean up borders
7272
collapsiblesInSet.each( function() {
7373
$( this ).jqmRemoveData( "collapsible-last" )
74-
.find( $.mobile.collapsible.prototype.options.heading )
74+
.find( ".ui-collapsible-heading" )
7575
.find( "a" ).first()
7676
.removeClass( "ui-corner-top ui-corner-bottom" )
7777
.find( ".ui-btn-inner" )

0 commit comments

Comments
 (0)