File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -286,12 +286,8 @@ $.widget( "ui.tabs", {
286286 }
287287 } ,
288288
289- // Reset certain styles left over from animation
290- // and prevent IE's ClearType bug...
289+ // TODO: remove once jQuery core properly removes filters - see #4621
291290 _resetStyle : function ( $el , fx ) {
292- $el . css ( "display" , function ( oldValue ) {
293- return oldValue === "none" ? oldValue : "" ;
294- } ) ;
295291 if ( ! $ . support . opacity && fx . opacity ) {
296292 $el [ 0 ] . style . removeAttribute ( "filter" ) ;
297293 }
@@ -384,8 +380,6 @@ $.widget( "ui.tabs", {
384380
385381 if ( toShow . length && that . showFx ) {
386382 toShow
387- // TODO: why are we hiding? old code?
388- . hide ( )
389383 . animate ( that . showFx , that . showFx . duration || "normal" , function ( ) {
390384 that . _resetStyle ( $ ( this ) , that . showFx ) ;
391385 complete ( ) ;
You can’t perform that action at this time.
0 commit comments