Added in some revised DOM Ready code, I've removed all the kludgey stuff. I'd prefer...
[jquery.git] / fx / fx.js
index c7979fa..d2bb89d 100644 (file)
--- 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){