]> source.dussan.org Git - jquery.git/commitdiff
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 c7979fadf8fe13376cbd2a556347ab942d900c96..877ac3b4ccc78f39d61380eab862dca2e46420f9 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();