Permalink
Browse files

Collapsible: Do not collapse already-collapsed collapsibles. Fixes #5911

  • Loading branch information...
gabrielschulhof committed Apr 22, 2013
1 parent 46cd89c commit 94b59a339228c181b2051956b475e9864decb295
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/collapsibleSet.js
@@ -46,7 +46,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, $.extend( {
.closest( ".ui-collapsible" );
if ( closestCollapsible.parent().is( ":mobile-collapsibleset, :jqmData(role='collapsible-set')" ) ) {
closestCollapsible
- .siblings( ".ui-collapsible" )
+ .siblings( ".ui-collapsible:not(.ui-collapsible-collapsed)" )
.trigger( "collapse" );
}
});

0 comments on commit 94b59a3

Please sign in to comment.