File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -283,20 +283,11 @@ $.widget( "ui.accordion", {
283
283
} ,
284
284
285
285
refresh : function ( ) {
286
- var maxHeight , overflow ,
286
+ var maxHeight ,
287
287
heightStyle = this . options . heightStyle ,
288
288
parent = this . element . parent ( ) ;
289
289
290
-
291
290
if ( heightStyle === "fill" ) {
292
- // IE 6 treats height like minHeight, so we need to turn off overflow
293
- // in order to get a reliable height
294
- // we use the minHeight support test because we assume that only
295
- // browsers that don't support minHeight will treat height as minHeight
296
- if ( ! $ . support . minHeight ) {
297
- overflow = parent . css ( "overflow" ) ;
298
- parent . css ( "overflow" , "hidden" ) ;
299
- }
300
291
maxHeight = parent . height ( ) ;
301
292
this . element . siblings ( ":visible" ) . each ( function ( ) {
302
293
var elem = $ ( this ) ,
@@ -307,9 +298,6 @@ $.widget( "ui.accordion", {
307
298
}
308
299
maxHeight -= elem . outerHeight ( true ) ;
309
300
} ) ;
310
- if ( overflow ) {
311
- parent . css ( "overflow" , overflow ) ;
312
- }
313
301
314
302
this . headers . each ( function ( ) {
315
303
maxHeight -= $ ( this ) . outerHeight ( true ) ;
You can’t perform that action at this time.
0 commit comments