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

Commit

Permalink
Collapsible: Do not collapse already-collapsed collapsibles. Fixes #5911
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Apr 22, 2013
1 parent 46cd89c commit 94b59a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/collapsibleSet.js
Expand Up @@ -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" );
}
});
Expand Down

0 comments on commit 94b59a3

Please sign in to comment.