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

Commit

Permalink
Suggestion for #4062: removing add() function which queries the whole…
Browse files Browse the repository at this point in the history
… DOM
  • Loading branch information
MauriceG committed Apr 16, 2012
1 parent 29465d7 commit 396110c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/jquery.mobile.collapsibleSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
});

Expand Down

0 comments on commit 396110c

Please sign in to comment.