Permalink
Browse files

Merge pull request #4063 from MauriceG/patch-26

Suggestion for #4062: removing add() function from refresh which queries the whole DOM [1.1.1]
  • Loading branch information...
2 parents 1692a24 + 396110c commit c608fbeb7e4ab62e704a2ac318fae7fed0d26d37 @gseguin gseguin committed Apr 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/jquery.mobile.collapsibleSet.js
@@ -70,7 +70,8 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
collapsiblesInSet.each( function() {
$( this ).find( $.mobile.collapsible.prototype.options.heading )
.find( "a" ).first()
- .add( ".ui-btn-inner" )
+ .removeClass( "ui-corner-top ui-corner-bottom" )
+ .find( ".ui-btn-inner" )
.removeClass( "ui-corner-top ui-corner-bottom" );
});

0 comments on commit c608fbe

Please sign in to comment.