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

Commit b1a7725

Browse files
Collapsible: JS code cleanup
1 parent 383ed1c commit b1a7725

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/jquery.mobile.collapsible.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ $.widget( "mobile.collapsible", $.mobile.widget, {
120120
})
121121
.bind( "click", function( event ) {
122122

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

126125
collapsible.trigger( type );
127126

0 commit comments

Comments
 (0)