diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-26 14:34:03 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-26 14:34:03 -0400 |
commit | da1255a392a0132711dacce7283df221621f098b (patch) | |
tree | d33974ac7cbc577a251293bc2888a21e359fa3e7 | |
parent | 17227498f49f88e34f0b918f4ccce08da81d47ad (diff) | |
download | jquery-ui-da1255a392a0132711dacce7283df221621f098b.tar.gz jquery-ui-da1255a392a0132711dacce7283df221621f098b.zip |
Tabs: Removed overflow workaround for IE6.
-rw-r--r-- | ui/jquery.ui.tabs.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 9918d6de2..f81771434 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -487,18 +487,10 @@ $.widget( "ui.tabs", { }, _setupHeightStyle: function( heightStyle ) { - var maxHeight, overflow, + var maxHeight, parent = this.element.parent(); if ( heightStyle === "fill" ) { - // IE 6 treats height like minHeight, so we need to turn off overflow - // in order to get a reliable height - // we use the minHeight support test because we assume that only - // browsers that don't support minHeight will treat height as minHeight - if ( !$.support.minHeight ) { - overflow = parent.css( "overflow" ); - parent.css( "overflow", "hidden"); - } maxHeight = parent.height(); this.element.siblings( ":visible" ).each(function() { var elem = $( this ), @@ -509,9 +501,6 @@ $.widget( "ui.tabs", { } maxHeight -= elem.outerHeight( true ); }); - if ( overflow ) { - parent.css( "overflow", overflow ); - } this.element.children().not( this.panels ).each(function() { maxHeight -= $( this ).outerHeight( true ); |