X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=fx%2Ffx.js;h=d2bb89d0da170fb44cb9cc63add7f68458733b16;hb=ba7ebaf70be4cc91d0b4114f35e4afdf11151ae1;hp=c7979fadf8fe13376cbd2a556347ab942d900c96;hpb=497bfb7909ada30e3410827808bc0c1a0d9843a7;p=jquery.git diff --git a/fx/fx.js b/fx/fx.js index c7979fa..d2bb89d 100644 --- a/fx/fx.js +++ b/fx/fx.js @@ -51,7 +51,7 @@ $.fn.fadeIn = function(a,o) { $.fn.fadeTo = function(a,ev,o) { o = $.speed(a,o); return a ? this.each(function(){ - ef = new fx.Opacity(this,o); + ef = new $.fx.Opacity(this,o); ef.custom(ef.cur(),parseFloat(ev)); ef.show(); }) : this._show(); @@ -173,7 +173,7 @@ $.fx.Resize = function(e,o){ var h = new $.fx.Height(e,o); if(o) { o.onComplete = null; } var w = new $.fx.Width(e,o); - function c(a,b,d){return (!a||a==c||b==d);} + function c(a,b,d){return (!a||a==d||b==d);} for(var i in $.fx.fn){(function(){ var j = $.fx.fn[i]; z[j] = function(a,b){