core: Adding missing radix for paresInt.
[jquery.git] / src / fx.js
index 824616a..d5185c5 100644 (file)
--- a/src/fx.js
+++ b/src/fx.js
@@ -35,7 +35,7 @@ jQuery.fn.extend({
        
        toggle: function( fn, fn2 ){
                return jQuery.isFunction(fn) && jQuery.isFunction(fn2) ?
-                       this._toggle( fn, fn2 ) :
+                       this._toggle.apply( this, arguments ) :
                        fn ?
                                this.animate({
                                        height: "toggle", width: "toggle", opacity: "toggle"