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", {
286
286
}
287
287
} ,
288
288
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
291
290
_resetStyle : function ( $el , fx ) {
292
- $el . css ( "display" , function ( oldValue ) {
293
- return oldValue === "none" ? oldValue : "" ;
294
- } ) ;
295
291
if ( ! $ . support . opacity && fx . opacity ) {
296
292
$el [ 0 ] . style . removeAttribute ( "filter" ) ;
297
293
}
@@ -384,8 +380,6 @@ $.widget( "ui.tabs", {
384
380
385
381
if ( toShow . length && that . showFx ) {
386
382
toShow
387
- // TODO: why are we hiding? old code?
388
- . hide ( )
389
383
. animate ( that . showFx , that . showFx . duration || "normal" , function ( ) {
390
384
that . _resetStyle ( $ ( this ) , that . showFx ) ;
391
385
complete ( ) ;
You can’t perform that action at this time.
0 commit comments