Skip to content

Commit fba69fd

Browse files
committed
Enhance only non enhanced collapsibles in refresh()
1 parent 43673fe commit fba69fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.mobile.collapsibleSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $.widget( "mobile.collapsibleset", $.mobile.widget, {
5757
var $el = this.element,
5858
collapsiblesInSet = $el.children( ":jqmData(role='collapsible')" );
5959

60-
$.mobile.collapsible.prototype.enhance( collapsiblesInSet );
60+
$.mobile.collapsible.prototype.enhance( collapsiblesInSet.not( ".ui-collapsible" ) );
6161

6262
// clean up borders
6363
collapsiblesInSet.each( function() {

0 commit comments

Comments
 (0)