File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ $.widget( "ui.accordion", {
75
75
. show ( ) ;
76
76
77
77
this . _createIcons ( ) ;
78
- this . originalHeight = this . element [ 0 ] . style . height ;
79
78
this . refresh ( ) ;
80
79
81
80
// ARIA
@@ -198,7 +197,6 @@ $.widget( "ui.accordion", {
198
197
}
199
198
} ) ;
200
199
if ( this . options . heightStyle !== "content" ) {
201
- this . element . css ( "height" , this . originalHeight ) ;
202
200
contents . css ( "height" , "" ) ;
203
201
}
204
202
} ,
@@ -289,7 +287,6 @@ $.widget( "ui.accordion", {
289
287
heightStyle = this . options . heightStyle ,
290
288
parent = this . element . parent ( ) ;
291
289
292
- this . element . css ( "height" , this . originalHeight ) ;
293
290
294
291
if ( heightStyle === "fill" ) {
295
292
// IE 6 treats height like minHeight, so we need to turn off overflow
@@ -332,10 +329,6 @@ $.widget( "ui.accordion", {
332
329
} )
333
330
. height ( maxHeight ) ;
334
331
}
335
-
336
- if ( heightStyle !== "content" ) {
337
- this . element . height ( this . element . height ( ) ) ;
338
- }
339
332
} ,
340
333
341
334
_activate : function ( index ) {
You can’t perform that action at this time.
0 commit comments