Skip to content
This repository
Browse code

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

… DOM
  • Loading branch information...
commit 396110c41ccc52318bcd715630cf66d2ec3d7c1a 1 parent 29465d7
Maurice Gottlieb authored April 16, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  js/jquery.mobile.collapsibleSet.js
3  js/jquery.mobile.collapsibleSet.js
@@ -70,7 +70,8 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
70 70
 		collapsiblesInSet.each( function() {
71 71
 			$( this ).find( $.mobile.collapsible.prototype.options.heading )
72 72
 				.find( "a" ).first()
73  
-				.add( ".ui-btn-inner" )
  73
+				.removeClass( "ui-corner-top ui-corner-bottom" )
  74
+				.find( ".ui-btn-inner" )
74 75
 				.removeClass( "ui-corner-top ui-corner-bottom" );
75 76
 		});
76 77
 

0 notes on commit 396110c

Please sign in to comment.
Something went wrong with that request. Please try again.