little bug in $.fx.fadeTo

This commit is contained in:
Gilles van den Hoven 2006-06-03 12:48:19 +00:00
parent 330867ac2f
commit 65b1081e9e

View File

@ -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();