X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffx.js;h=d5185c58db2213a6d0f8f700b75f6f49206c5a1b;hb=ea44348fdb8d039dd74684cdafc6c73430f297b3;hp=824616afbb75d015d967846165398ecd05318158;hpb=25f9974cee5874d10df32f2d16fb985181e0c077;p=jquery.git diff --git a/src/fx.js b/src/fx.js index 824616a..d5185c5 100644 --- 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"