Permalink
Browse files

Suggestion for #4062: removing add() function which queries the whole…

… DOM
  • Loading branch information...
MauriceG committed Apr 16, 2012
1 parent 29465d7 commit 396110c41ccc52318bcd715630cf66d2ec3d7c1a
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 396110c

Please sign in to comment.