Permalink
Browse files

Collapsible: JS code cleanup

  • Loading branch information...
1 parent eedf70f commit d57ab8504630fa5e6ee1ab09644ebc5521a4ec6e @jaspermdegroot jaspermdegroot committed Jul 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 js/widgets/collapsible.js
@@ -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 );

0 comments on commit d57ab85

Please sign in to comment.