Commit 65b1081e authored by Gilles van den Hoven's avatar Gilles van den Hoven

little bug in $.fx.fadeTo

parent 330867ac
...@@ -51,7 +51,7 @@ $.fn.fadeIn = function(a,o) { ...@@ -51,7 +51,7 @@ $.fn.fadeIn = function(a,o) {
$.fn.fadeTo = function(a,ev,o) { $.fn.fadeTo = function(a,ev,o) {
o = $.speed(a,o); o = $.speed(a,o);
return a ? this.each(function(){ return a ? this.each(function(){
ef = new fx.Opacity(this,o); ef = new $.fx.Opacity(this,o);
ef.custom(ef.cur(),parseFloat(ev)); ef.custom(ef.cur(),parseFloat(ev));
ef.show(); ef.show();
}) : this._show(); }) : this._show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment