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

Commit

Permalink
Collapsible: JS code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Jul 23, 2012
1 parent eedf70f commit d57ab85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/widgets/collapsible.js
Expand Up @@ -131,8 +131,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
})
.bind( "click", function( event ) {

var type = collapsibleHeading.is( ".ui-collapsible-heading-collapsed" ) ?
"expand" : "collapse";
var type = collapsibleHeading.is( ".ui-collapsible-heading-collapsed" ) ? "expand" : "collapse";

collapsible.trigger( type );

Expand Down

0 comments on commit d57ab85

Please sign in to comment.