diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-17 13:15:44 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-17 13:15:44 -0400 |
commit | a9d4b52836b0960f1ed3d31ef224ff1752236209 (patch) | |
tree | 105660ceb23c8033907e836ceacaf6348449679a /ui/jquery.ui.tabs.js | |
parent | 165507925638d0161163d7a712d5e0e63bae93dd (diff) | |
download | jquery-ui-a9d4b52836b0960f1ed3d31ef224ff1752236209.tar.gz jquery-ui-a9d4b52836b0960f1ed3d31ef224ff1752236209.zip |
Tabs: Removed some animation cleanup code that doesn't appear to be necessary.
Diffstat (limited to 'ui/jquery.ui.tabs.js')
-rw-r--r-- | ui/jquery.ui.tabs.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 7702c1e4b..84d623f62 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -286,12 +286,8 @@ $.widget( "ui.tabs", { } }, - // Reset certain styles left over from animation - // and prevent IE's ClearType bug... + // TODO: remove once jQuery core properly removes filters - see #4621 _resetStyle: function ( $el, fx ) { - $el.css( "display", function( oldValue ) { - return oldValue === "none" ? oldValue : ""; - }); if ( !$.support.opacity && fx.opacity ) { $el[ 0 ].style.removeAttribute( "filter" ); } @@ -384,8 +380,6 @@ $.widget( "ui.tabs", { if ( toShow.length && that.showFx ) { toShow - // TODO: why are we hiding? old code? - .hide() .animate( that.showFx, that.showFx.duration || "normal", function() { that._resetStyle( $( this ), that.showFx ); complete(); |