Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Collapsible: JS code cleanup

  • Loading branch information...
commit d57ab8504630fa5e6ee1ab09644ebc5521a4ec6e 1 parent eedf70f
@jaspermdegroot jaspermdegroot authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  js/widgets/collapsible.js
View
3  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 );
Please sign in to comment.
Something went wrong with that request. Please try again.