File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,21 +102,21 @@ define([
102
102
* @private
103
103
*/
104
104
_processPanels : function ( ) {
105
- this . contents = this . element . find ( this . options . content ) ;
105
+ this . contents = this . element . children ( this . options . content ) ;
106
106
107
- this . collapsibles = this . element . find ( this . options . collapsibleElement ) ;
107
+ this . collapsibles = this . element . children ( this . options . collapsibleElement ) ;
108
108
109
109
this . collapsibles
110
110
. attr ( 'role' , 'presentation' )
111
111
. parent ( )
112
112
. attr ( 'role' , 'tablist' ) ;
113
113
114
- this . headers = this . element . find ( this . options . header ) ;
114
+ this . headers = this . element . children ( this . options . header ) ;
115
115
116
116
if ( this . headers . length === 0 ) {
117
117
this . headers = this . collapsibles ;
118
118
}
119
- this . triggers = this . element . find ( this . options . trigger ) ;
119
+ this . triggers = this . element . children ( this . options . trigger ) ;
120
120
121
121
if ( this . triggers . length === 0 ) {
122
122
this . triggers = this . headers ;
You can’t perform that action at this time.
0 commit comments