Permalink
Browse files

Fixes #4499 - Bottom accordion keeps rounded corners when expanded

Fixes #4499
Cause: This seems like it was originally intentional
  • Loading branch information...
1 parent 4a20ca2 commit ce9952f6694245d7771c9d240b23a29d41381a88 Jason Scott committed Jun 8, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 js/jquery.mobile.collapsibleSet.js
@@ -37,9 +37,8 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
.bind( "expand collapse", function( event ) {
var isCollapse = ( event.type === "collapse" ),
collapsible = $( event.target ).closest( ".ui-collapsible" ),
- widget = collapsible.data( "collapsible" ),
- contentTheme = widget.options.contentTheme;
- if ( contentTheme && collapsible.jqmData( "collapsible-last" ) ) {
+ widget = collapsible.data( "collapsible" );
+ if ( collapsible.jqmData( "collapsible-last" ) ) {
collapsible.find( widget.options.heading ).first()
.find( "a" ).first()
.toggleClass( "ui-corner-bottom", isCollapse )

1 comment on commit ce9952f

@toddparker

You're right @jasondscott - this was intentional originally, but I agree that this is now odd, especially with the difference between themed and unthemed content. Go ahead and land this for 1.2 but let's not cherrypick into 1.1-stable since it changes the appearance.

Please sign in to comment.