diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-06 09:02:39 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-06 09:03:04 -0400 |
commit | c0f5db539403f1b9c5a80db75d127d4465f911df (patch) | |
tree | 7f4b8220988212d285eb4e0e2b1945670ac35ec0 /ui | |
parent | cd90e57f2293db1a8fa82e6832abf8d72d024d14 (diff) | |
download | jquery-ui-c0f5db539403f1b9c5a80db75d127d4465f911df.tar.gz jquery-ui-c0f5db539403f1b9c5a80db75d127d4465f911df.zip |
Tabs: Don't explicitly remove filter when animating opacity. Fixes #4621 - Tabs: Don't forcefully remove filter attribute.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.tabs.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index fb384e563..e42bcb1a2 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -291,13 +291,6 @@ $.widget( "ui.tabs", { } }, - // TODO: remove once jQuery core properly removes filters - see #4621 - _resetStyle: function ( $el, fx ) { - if ( !$.support.opacity && fx.opacity ) { - $el[ 0 ].style.removeAttribute( "filter" ); - } - }, - _setupEvents: function( event ) { // attach tab event handler, unbind to avoid duplicates from former tabifying... this.anchors.unbind( ".tabs" ); @@ -386,7 +379,6 @@ $.widget( "ui.tabs", { if ( toShow.length && that.showFx ) { toShow .animate( that.showFx, that.showFx.duration || "normal", function() { - that._resetStyle( $( this ), that.showFx ); complete(); }); } else { @@ -399,7 +391,6 @@ $.widget( "ui.tabs", { if ( toHide.length && that.hideFx ) { toHide.animate( that.hideFx, that.hideFx.duration || "normal", function() { eventData.oldTab.closest( "li" ).removeClass( "ui-tabs-active ui-state-active" ); - that._resetStyle( $( this ), that.hideFx ); show(); }); } else { |