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

Commit ee3f169

Browse files
Collapsible set: Make option corners work on a set.
1 parent b6f18ed commit ee3f169

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

js/widgets/collapsibleSet.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
2525
if ( !o.contentTheme ) {
2626
o.contentTheme = $el.jqmData( "content-theme" );
2727
}
28-
28+
// Inherit the corner styling from collapsible-set
29+
if ( !o.corners ) {
30+
o.corners = $el.jqmData( "corners" );
31+
}
32+
2933
if ( $el.jqmData( "inset" ) !== undefined ) {
3034
o.inset = $el.jqmData( "inset" );
3135
}

0 commit comments

Comments
 (0)