little bug in $.fx.fadeTo
authorGilles van den Hoven <gilles0181@gmail.com>
Sat, 3 Jun 2006 12:48:19 +0000 (12:48 +0000)
committerGilles van den Hoven <gilles0181@gmail.com>
Sat, 3 Jun 2006 12:48:19 +0000 (12:48 +0000)
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();