little bug in $.fx.fadeTo
[jquery.git] / fx / fx.js
index c7979fa..877ac3b 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();