diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-10-16 00:15:22 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-10-16 00:17:39 -0400 |
commit | d70e64bff2660cf5a801fe818f1170d5ea93e4fe (patch) | |
tree | 613dadf7762a2ecfb90326130eab6e2e1af59ffd /src/css.js | |
parent | 6aae3e1038925f8f22d6c0aeedf74f0358890be4 (diff) | |
download | jquery-d70e64bff2660cf5a801fe818f1170d5ea93e4fe.tar.gz jquery-d70e64bff2660cf5a801fe818f1170d5ea93e4fe.zip |
fix effects tests failure
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/css.js b/src/css.js index 99d578873..6f5456315 100644 --- a/src/css.js +++ b/src/css.js @@ -116,10 +116,6 @@ jQuery.fn.extend({ toggle: function( state, fn2 ) { var bool = typeof state === "boolean"; - if ( jQuery.isFunction( state ) && jQuery.isFunction( fn2 ) ) { - return eventsToggle.apply( this, arguments ); - } - return this.each(function() { if ( bool ? state : isHidden( this ) ) { jQuery( this ).show(); |