Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Collapsibles: make sure the collapsibles inherit a theme if nothing i…

…s set. Thanks @MauriceG :+1:
  • Loading branch information...
commit b50ea798ef9e8ac0a9775fc48c451939b12baad9 1 parent fbc555f
@jaspermdegroot jaspermdegroot authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 js/widgets/collapsible.js
View
5 js/widgets/collapsible.js
@@ -71,6 +71,11 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
if ( !o.mini ) {
o.mini = collapsibleSet.jqmData( "mini" );
}
+ } else {
+ // get inherited theme if not a set and no theme has been set
+ if ( !o.theme ) {
+ o.theme = $.mobile.getInheritedTheme( $el, "c" );
+ }
}
if ( !!o.inset ) {

0 comments on commit b50ea79

Please sign in to comment.
Something went wrong with that request. Please try again.